Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

mdListItem: Secondary clickable md-icon needs focus style #2340

Closed
@marcysutton

Description

@marcysutton

The new focus styles in #2273 and #1594 require JS to set focus only on true keyboard interactions (hacking around the browser default of persisting focus on click). This behavior is not implemented on md-icon, but on md-button. To minimize duplication of code, mdList's secondary md-icon directives with ng-click on them should really be md-button.

To fix this, we can either transform md-icon into md-button behind the scenes or change the HTML API to use <md-button ng-click""><md-icon /></md-button>.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions