[BUG][Mobile] H-Scroll blocked until the navbar toggler is pressed
NextUI Version
2.1.13
Describe the bug
Horizontal scrolling is blocked on all my pages until I press the toggle button on the navbar. If I open and close the menu, I can scroll again.
Your Example Website or App
https://next-ui-toggler-bug-demo.vercel.app/ Repo: https://github.com/gustaveWPM/next-ui-toggler-bug-demo
Steps to Reproduce the Bug or Issue
- Go to those following links:
- https://next-ui-toggler-bug-demo.vercel.app
- https://next-ui-toggler-bug-demo.vercel.app/patch-notes
- Try to scroll vertically
- Open and close the navbar menu
- Try to scroll vertically again
Expected behavior
The horizontal scroll shouldn't be blocked on page enter.
Screenshots or Videos
No response
Operating System Version
- iOS 16.6.1 (iPhone XR)
- Android v9 (Samsung Galaxy S8)
Browser
iOS: Tested on Brave & Safari Android: Tested on the Samsung default web browser
Hummm, closing for now. Feel free to ping me whenever you have time to investigate.
Hummm, closing for now. Feel free to ping me whenever you have time to investigate.
When I make the "disableAnimation" prop true, it locks the scroll. It releases when the toggle button is pressed once. I don't want to use animation. I'm waiting for it to be fixed.
Same here on desktop. <NavbarContainer disableAnimation> builds fine, but causes the vertical scroll to not work until I open the menu or devtools.