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
[Bug Report][3.0.0-beta.8] VOverlay should not block scroll by default when contained #15653
Comments
I've updated the reproduction link because apparently I forgot to save the final version of the file... |
Use |
That works, but I think it should be default when It seems counterintuitive for me that an overlay in a card would lock the entire screen if I don't explicit say so. Or at least warn in the docs to the developers know they should be concerned with this property when dealing with contained overlays. |
The default scroll-strategy should probably just be changed to none globally. |
Is this more of a new ticket but feels related..? Should the overlay really block scrolling of every ancestor when contained and scrollStrategy is |
This comment was marked as off-topic.
This comment was marked as off-topic.
Stopping at the first found parent would still be the window in that example |
that's worked for me thank you. |
That is also work for me. Use this on V-overlay |
Environment
Vuetify Version: 3.0.0-beta.8
Vue Version: 3.2.37
Browsers: Chrome 102.0.5005.167
OS: Mac OS 10.15.7
Steps to reproduce
In a big and scrollable page, create a card with a contained overlay with v-hover, just like in the documented example, then, try to scroll normally then hover the card and try to scroll again.
Expected Behavior
If the overlay is contained, it is expected that it won't block scrolling.
Actual Behavior
The scroll strategy always defaults block no matter what.
Reproduction Link
https://codesandbox.io/s/vuetify-voverlay-scroll-unexpected-behavior-v62289?file=/src/App.vue
The text was updated successfully, but these errors were encountered: