Skip to content

[Bug]: Cancel events close all modal overlays instead of only the top overlay #6080

@lehelen19

Description

@lehelen19

Code of conduct

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

Impacted component(s)

sp-overlay

Library version

1.11.2

Expected behavior

The cancel event should close only the modal overlay from where the event originated.

Actual behavior

The cancel event closes all open modal overlays.

Example bug from Express: CCEX-276235

Screenshots

No response

What browsers are you seeing the problem in?

Chrome

How can we reproduce this issue?

  1. Have two modal overlays open
  2. Dispatch a cancel event from one of the overlays
  3. Observe both overlays closing

Sample code or abstract reproduction which illustrates the problem

No response

Severity

SEV 2

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

    bugSomething isn't workingneeds-jira-ticketIssue has yet to be imported to JiratriageAn issue needing triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions