-
-
Notifications
You must be signed in to change notification settings - Fork 296
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
fix(dialog): fix scrollbar pointer-down click prevent dialog closing #625
fix(dialog): fix scrollbar pointer-down click prevent dialog closing #625
Conversation
This PR don't fix Toast issue, will try to fix this a little bit later 🙂 |
Thanks for the PR @romanhrynevych . we can prevent dismissing the dialog when clicking on the Toast. So we dont need explicit fix for this. Your fixes for clicking on scrollbar looks good to me 😁 |
@zernonia thank you for your great job on this package ❤️ How can we prevent closing Dialog by dismissing it? I added video asset to clarify bug that I'm cannot fix for now) |
@romanhrynevych We can prevent default following this comment here. The above shows |
Think that it will be helpful to point this inside docs, so I add some demo for this type of usage, maybe this will clarify things for more devs 🙂 dialog-toast-demo.mp4@sadeghbarati hi 👋 What you think about this?) |
Great Job @romanhrynevych ❤️ |
I just noticed one more issue, need to resolve it too. So, when I add Toast component, because of it position in DOM (on top of our Dialog) we never will click on toast because dialog-toast-z-index.mp4Also, I don't see any need to |
Previously I was teleporting to |
Thanks @romanhrynevych ! After setting |
Thanks for the PR @romanhrynevych ! Well done! 💚 |
this PR closes #624