You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
useSref: "target="_blank" ignored when link contains child elements #1224
useSref handles click when anchor element contains a child element. This is an issue when the user wants the browser to handle the onClick event, by providing a target attribute.
changed the title [-]useSref: Do not handle clicks when anchor element has a child element inside it[/-][+]useSref: "target="_blank" ignored when link contains child elements[/+]on Mar 20, 2024
Activity
[-]useSref: Do not handle clicks when anchor element has a child element inside it[/-][+]useSref: "target="_blank" ignored when link contains child elements[/+]ui-router#1224 | useSref | updated onClick to check target from curre…
mishra-ankit-learn commentedon Mar 22, 2024
Created PR: #1226 to fix the issue.
Added unit test too
ui-router#1224 - updated the comment to be more precise