Replies: 2 comments
-
That's interesting. Want to take a stab at it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
unfortunately, i don’t have the capacity to work on this myself right now, but happy to share ideas or give feedback if someone else wants to tackle it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my app, I implemented Headroom.js, which hides the navigation when the user scrolls down and shows it when the user scrolls up.
I've a dialog trigger inside the navigation. When user in the middle of the page and the navigation is visible and open the dialog and then closed it, the navigation hides again, which I believe is not a good UX.
I suspect this root behavior is caused by this and it does make sense that Headroom would hide the navigation in such a scenario.
zag/packages/utilities/remove-scroll/src/index.ts
Line 53 in ad517e5
Is there any chance we could have new logic for handling scroll lock without resetting the scroll state? Maybe Reka UI's implementation could be worth looking into.
Beta Was this translation helpful? Give feedback.
All reactions