Coder Social home page Coder Social logo

ahaw / ngx-hideable-header Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 310 KB

Hideable (or sticky) header directive for Angular.

Home Page: https://www.npmjs.com/package/ngx-hideable-header

License: MIT License

TypeScript 68.65% JavaScript 8.52% CSS 1.39% HTML 21.44%
angular angular2 angular6 angular7

ngx-hideable-header's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tanepiper

ngx-hideable-header's Issues

warning in Chrome

Hi, thank you for the library!

I'm getting the following warning from Chrome (Version 70.0.3538.77):

commons-153a668ef205beec2e8f.js:56 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

Can there be done anything about it?

Thanks

Scrolling element is not supported of all browsers

Hi,

we have found an issue for some browsers and we have investigated that scrolling elements is not widely cupported, yet.

https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollingElement

Can you fix it at line https://github.com/ahaw/ngx-hideable-header/blob/master/src/lib/src/lib/hideable-header.directive.ts#L141
to prevent crashing?

Example setup (based on sentry errors):
Chrome 38.0.2125, Win8
Chrome Mobile WebView 30.0.0, Android 4.4.2
Chrome 43.0.2357, Android 5.1.1
MiuiBrowser 2.0.1, Android 4.4.4
Samsung Internet 3.5, Android 5.1.1

Thanx.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.