-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐞 useDOMScrollLock
sometimes scrolls page back to the top
#10
Comments
useDOMScrollLock
composable sometimes sends back to the topuseDOMScrollLock
sometimes scrolls page back to the top
The close button you are seeing in the width demo might be due to some glitch. Please clear the cache and reload the page, hopefully, it will go away. Moreover, regarding reproducing the issue, you will open demos repeatedly & randomly and in around 20-30 seconds you will get the bug. I hope this will help you. |
It may be a bug of |
@zguolee Bingo!
Yes, the Close button in the width demo can be due to VitePress. I am removing Maybe I should test this in fresh vuejs project without VitePress and update the issue. |
There is no problem with building and preview only have warnings. When I refresh the production web, the browser |
Hey guys, We have fixed SSR issues so we won't get |
Hi, not sure if I should post into a new thread, but mentioning it here first, on an unexpected UI behaviour when dialog shows up, in a page that's fit in screen (ie no scroll bar). Forcing a scroll lock in this situation result in creation of scroll bar and hence a jiggle effect where everything on screen is shifted to the left of the newly created scrollbar. This is tested on a Windows 11 Laptop, Chrome browser latest. Expected behaviour is no scroll lock performed when a page is fit (and thus no existing scrollbar). |
Steps to reproduce
Check dialog demos randomly multiple times you might get below bug where when you open the dialog window/page suddenly scrolls to the top
Notice when we click on show dialog page is scrolled to the top and when we close the dialog page is back to its position.
What is expected
It should not scroll back to the top when we click on show dialog button
What is actually happening?
Window/page is scrolled to the top when the dialog is visible
The text was updated successfully, but these errors were encountered: