Skip to content

[Bug]: Long press triggering sp-overlay type="modal" breaks all other sp-action-button click events #5768

@WUY97

Description

@WUY97

Code of conduct

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

Impacted component(s)

sp-action-button sp-overlay

Library version

1.7.0

Expected behavior

Firing long press event from a sp-action-button to a sp-overlay should not break the on-click event on all sp-action-buttons

Actual behavior

Please find LrW Jira ticket: https://jira.corp.adobe.com/browse/LRW-21602

Screenshots

No response

What browsers are you seeing the problem in?

Firefox, Chrome, Safari, Microsoft Edge

How can we reproduce this issue?

Please find LrW Jira ticket for reproduction process. Pseudo code is attached below.

LrW POC: Claire Wu [email protected]

Sample code or abstract reproduction which illustrates the problem

<sp-action-button id="button-trigger" /> // on-click will become unresponsive after long press is fired
<sp-overlay trigger="button-trigger@longpress" type="modal" />
<sp-action-button /> // on-click will become unresponsive after long press is fired
<sp-action-button /> // on-click will become unresponsive after long press is fired
<sp-action-button /> // on-click will become unresponsive after long press is fired

Severity

SEV 1

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

    Component: OverlaySEV 3Issue that cause noticeable errors/minor usability problems which cause confusion or degrade UXbugSomething isn't workingjira ticket createdTODO: Delete label once Jira integration is complete

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions