Skip to content
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

Nested modals have flickering overlay #440

Open
doutatsu opened this issue Mar 31, 2024 · 1 comment
Open

Nested modals have flickering overlay #440

doutatsu opened this issue Mar 31, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@doutatsu
Copy link

Version

vue-final-modal: 4.5.4
vue: 3.4.21

OS

Mac

Reproduction Link

https://stackblitz.com/edit/github-fwkzck

Steps to reproduce

  • Open base modal
  • Open nested modal
  • Toggle nested modal between open / closed, to see the flickering

What is Expected?

Either the nested modals shouldn't have their own overlay or a better transition between modal overlays needs to be supported. Basically we shouldn't see the overlay flicker due to the transitions between modals

What is actually happening?

As can be seen in the video, when the previous modal and nested modal swap, the overlays "jump" resulting in an annoying flicker. It's less noticeable with light overlay but is very obvious with dark overlay

2024-03-31.at.11.54.25.-.Coral.Bee.mp4
@doutatsu doutatsu added the bug Something isn't working label Mar 31, 2024
@doutatsu doutatsu changed the title Nested modals have issues with transitions Nested modals have flickering overlay Mar 31, 2024
@doutatsu
Copy link
Author

Any thoughts on this @hunterliu1003

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants