fix: header stuck on certain threshold (#130)
On some cases if the scroll happens fast and multiples times, it will get stuck on a threshold and not call the `handleScroll` again, by cleaning the timeoutId everytime `handleScroll` gets called we ensure that it will not get stuck if scrolling happens too fast. Co-authored-by: J M Rossy <jm.rossy@gmail.com>pull/132/head
parent
767bae2a99
commit
ed7eac97e9
Loading…
Reference in new issue