Skip to content

Nested modals issue #478

@Vs-tev

Description

@Vs-tev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions