This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
mdIcon in mdListItem gets not wrapped with a button when mdListItem does not have a ngClick #3928
Labels
Milestone
Comments
Yep, that's a bug. That icon needs to be made into a button to be actionable. |
JuHwon
changed the title
mdListItem icon wont wrapped with button without ngClick on the mdListItem
mdListItem icon gets not wrapped with a button without ngClick on the mdListItem
Jul 29, 2015
JuHwon
changed the title
mdListItem icon gets not wrapped with a button without ngClick on the mdListItem
mdListItem icon gets not wrapped with a button when mdListItem does not have a ngClick
Jul 29, 2015
JuHwon
changed the title
mdListItem icon gets not wrapped with a button when mdListItem does not have a ngClick
mdIcon in mdListItem gets not wrapped with a button when mdListItem does not have a ngClick
Jul 29, 2015
+1 and don't limit it to |
EladBezalel
added a commit
that referenced
this issue
Nov 30, 2015
Secondary was being wrapped only if `md-checkbox` or `md-switch` were near by or `ng-click` was applied on the list item. fixes #3928
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
If you build a
mdListItem
without ang-click
attribute the containingmdIcons
with ang-click
attribute will not be wrapped with amd-button
element. I think this is a strange behaviour.I would blame the if statement at line 80 in the list.js
Here is a codepen example.
The text was updated successfully, but these errors were encountered: