Skip to content

[Bug]: sp-action-button with target="_blank" and href opens page twice. #5689

@mscherotter

Description

@mscherotter

Code of conduct

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

Impacted component(s)

action-button

Library version

1.7.0

Expected behavior

Creating an action button with a target="_blank" and href will open the web page in a single tab similar to the sp-link component.

<sp-action-button target="_blank" href="https://galeryst.com">Galeryst.com</sp-action-button>

Actual behavior

the page in the href is opened in two separate tabs on Edge.

Screenshots

No response

What browsers are you seeing the problem in?

Microsoft Edge

How can we reproduce this issue?

  1. <sp-action-button target="_blank" href="https://galeryst.com">Galeryst.com</sp-action-button>
  2. Click on the link.

Sample code or abstract reproduction which illustrates the problem

<sp-action-button target="_blank" href="https://galeryst.com">Galeryst.com</sp-action-button>

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

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions