Skip to content

Carrousel: links not opening on a new tab with target: "_blank" propertie #2022

@Riv-an

Description

@Riv-an

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

[ ] Enhancement

[X] Bug

[ ] Question

Version

Please specify what version of the library you are using: [3.21.0]

Expected / Desired Behavior / Question

Using the target:_blank the carrousel should open the link in a new tab.

Observed Behavior

Even if the target="_blank" is in the element, the link is not opened in a new tab.

Steps to Reproduce

  • configure the Carrousel with some dummy data
  • add "_blank" to the carrousel properties.

I found this article from Microsoft explaining the reason why it's not working: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/hyperlinking

I have already fixed this issue in my "node modules" but I would be happy to help and make it official here.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions