-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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] Dialog won't behave as modal when hide-overlay prop is true #8697
Comments
Related: #8640 |
I think the problem is in the following bit : vuetify/packages/vuetify/src/components/VDialog/VDialog.ts Lines 169 to 179 in 51a0336
It probably broke on v2.0.8 (652ba11) when |
I reproduce the same issue with Persistent and Fullscreen. Reproduction Link |
I have this problem. The overlay stays even tho I close the dialog. |
Here's a workaround for people wanting to use bottom sheet with persist and hide-overlay in the meantime.. We extend VBottomSheet with a new control that operates correctly. The export as any makes it work with vue-property-decorator.
|
Thanks @ErikMikkelson this made the trick! |
Also, it might be useful to override the |
#9304) * fix(vdialog): fix close on outside click with persist and hide-overlay Fixes an issue where VDialog would close on outside clicks if persist and hide-overlay were set. fix #8697 * fix(vdialog): persistent and hide-overlay should ignore outside click ixes an issue where the dialog would still close on outside clicks when persistent and hide-overlay fix #8697
EDIT: |
This issue have been fixed, please create a new one for bottom sheet problem |
I have created an issue (#9242) for some time for this problem, should I reopen it or create a new one? |
#9242 is fixed: https://codepen.io/jkarczm/pen/WNbNXNq |
Thanks, seems to work in codepen, will try it in our application.
…On Mon, Dec 2, 2019 at 7:16 PM Jacek Karczmarczyk ***@***.***> wrote:
#9242 <#9242> is fixed:
https://codepen.io/jkarczm/pen/WNbNXNq
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8697?email_source=notifications&email_token=AAVU5IL72RMHN7YC3ITZKMDQWU7GRA5CNFSM4IO3B2BKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFUGYIQ#issuecomment-560491554>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVU5IOFSX2GGDJNSVAUCCLQWU7GRANCNFSM4IO3B2BA>
.
--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail: alex@ipworkshop.ro
telefon: 0742061223
www.ipworkshop.ro
|
when both persistent and hide-overlay are set, the page can be scrolled, which i believe is not the intended case |
Environment
Vuetify Version: 2.0.10
Vue Version: 2.6.10
Browsers: Chrome 76.0.3809.100
OS: Windows 10
Steps to reproduce
Set both the
persistent
andhide-overlay
props to true on a DialogExpected Behavior
The Dialog will persist even when the user clicks outside of it.
Actual Behavior
The Dialog gets dismissed when the user clicks outside of it.
Reproduction Link
https://codepen.io/wallslide/pen/BaBpZbR
The text was updated successfully, but these errors were encountered: