Skip to content

[Bug]: Modal overlay is hiding when 2nd modal overlay is opened #5947

@spdev3000

Description

@spdev3000

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

Overlay

Library version

1.9.1

Expected behavior

When we open a second modal overlay (such as a dialog) - the first modal overlay should stay visible "below" the new modal overlay.

Actual behavior

Currently when we open a 2nd modal overlay (dialog) the first overlay gets auto hidden.

Screenshots

No response

What browsers are you seeing the problem in?

Chrome

How can we reproduce this issue?

  1. Go to https://stackblitz.com/edit/vitejs-vite-a4u2bta3?file=src%2Fmy-element.ts
  2. Click on Open Dialogs button
  3. First dialog opens
  4. After 1 sec the second modal overlay dialog opens which then hides the first overlay

Sample code or abstract reproduction which illustrates the problem

No response

Severity

SEV 3

Logs taken while reproducing problem

No response

Would you like to track this issue in Jira?

  • Yes, please tell me the ticket number!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions