X Tutup
Skip to content

fix(RouterLink): do not prevent default behavior if target set on anc…#5082

Closed
jeffbcross wants to merge 1 commit intoangular:masterfrom
jeffbcross:router-target
Closed

fix(RouterLink): do not prevent default behavior if target set on anc…#5082
jeffbcross wants to merge 1 commit intoangular:masterfrom
jeffbcross:router-target

Conversation

@jeffbcross
Copy link
Copy Markdown
Contributor

…hor element

If the anchor element on which the "router-link" directive is present has a target
attribute other than "_self," the handler will not prevent default behavior of
the browser.

Closes #4233

@jeffbcross jeffbcross added comp: router action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 3, 2015
@jeffbcross jeffbcross added this to the beta-00 milestone Nov 3, 2015
@jeffbcross
Copy link
Copy Markdown
Contributor Author

I forgot that we don't have the reverse-lookup enum support enabled in ts2dart :/. dart-archive/ts2dart#221

@jeffbcross
Copy link
Copy Markdown
Contributor Author

I'll update this not to use enums.

@btford
Copy link
Copy Markdown
Contributor

btford commented Nov 3, 2015

Other than the enum thing, LGTM. Merge once that fix is in 👍

@jeffbcross
Copy link
Copy Markdown
Contributor Author

(I got verbal LGTM of recent changes from @btford)

@jeffbcross jeffbcross added the action: merge The PR is ready for merge by the caretaker label Nov 4, 2015
@mary-poppins
Copy link
Copy Markdown

Merging PR #5082 on behalf of @jeffbcross to branch presubmit-jeffbcross-pr-5082.

@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Nov 4, 2015
@btford
Copy link
Copy Markdown
Contributor

btford commented Nov 4, 2015

(confirming said verbal LGTM, also thanks for your work on this, @jeffbcross )

…hor element

If the anchor element on which the "router-link" directive is present has a target
attribute other than "_self," the handler will not prevent default behavior of
the browser.

Closes angular#4233
@jeffbcross jeffbcross added the action: merge The PR is ready for merge by the caretaker label Nov 4, 2015
@mary-poppins
Copy link
Copy Markdown

Merging PR #5082 on behalf of @jeffbcross to branch presubmit-jeffbcross-pr-5082.

@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Nov 4, 2015
@jeffbcross jeffbcross closed this in a69e7fe Nov 4, 2015
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(router): target attribute not respected when used with router-link

4 participants

X Tutup