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 issue #478

Open
Vs-tev opened this issue Nov 6, 2024 · 0 comments
Open

Nested modals issue #478

Vs-tev opened this issue Nov 6, 2024 · 0 comments

Comments

@Vs-tev
Copy link

Vs-tev commented Nov 6, 2024

Hi, I have a similar problem as in this discussion. I'm not sure if it's related to wire:navigate, but the steps to reproduce are pretty much the same:

  1. Open slide-over
  2. From there, open a new modal.
  3. Close all opened modals with $dispatch('modal.close')
  4. Open and close new modal.

What happens is that the modal close, but the grey background doesn't go away.

I've discovered that even though the closeActiveComponent function is called and this.open is set to false, the <div> element isn't hiding as expected. The display: none style, which should be set by x-show="open", is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant