When I have icon inside nav list, the click does'nt result in navigation event(route change)
<md-nav-list>
<md-list-item>
<md-icon md-list-icon>notifications</md-icon>
<a md-line [routerLink]=".">Test</a>
</md-list-item>
</md-nav-list>
Confusing to the user
Angular 2.4.2/material 2.0.0-beta.2/Windows/electron 1.4.3
Tt seems the click is not covering the entire link area as well.
Can you reproduce it in a Plunker?
Try organizing it like this: https://plnkr.co/edit/qE6MHvOUzwX9BpjkFQkE?p=preview
It may not be totally clear from the docs, but if you look at the source you can see that MdListItem can be an anchor as well.
Thank you for the prompt response, kind of not used to having other tags inside the <a> tag.
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._
Most helpful comment
Try organizing it like this: https://plnkr.co/edit/qE6MHvOUzwX9BpjkFQkE?p=preview
It may not be totally clear from the docs, but if you look at the source you can see that MdListItem can be an anchor as well.