Skip to content

Fix page reloading at root when using click event on anchor - #2

Open
domwrap wants to merge 1 commit into
designcourse:masterfrom
domwrap:routing-reload-fix
Open

Fix page reloading at root when using click event on anchor#2
domwrap wants to merge 1 commit into
designcourse:masterfrom
domwrap:routing-reload-fix

Conversation

@domwrap

@domwrap domwrap commented Apr 8, 2018

Copy link
Copy Markdown

This issue is discussed in the course comments, as well as several other places, including the official Angular repo: Empty href attribute navigates to the app base #7294.

Pending an official fix, and without changing the code entirely to use a button styled as an anchor, the fix in this patch seems the most elegant, and comes from a comment on that Angular repo issue, put forward by simeyla.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant