Mir Ali Mobasheri

Results 4 comments of Mir Ali Mobasheri

This issue happens as the mobile browser's address bar hides on scroll. The source code for `use-headroom` doesn't take this height change into consideration. @rtivital I might be able to...

I think it's impossible to replicate this issue in storybook. The UI of storybook has absolute positioning and the real scrolling behavior of the demo component happens in the i-frame...

oh thanks! sorry, I got so busy digging the docs to remove that toolbar that I didn't see this simple button:))

It looks like removing lines(50, 52) of this hook fixes the issue: ```js if (isPinned(scrollPosition, scrollRef.current)) { return true; } ``` But it only happens when` useWindowScroll` updates state because...