components icon indicating copy to clipboard operation
components copied to clipboard

MdButton focus rendering

Open anwalkers opened this issue 9 years ago • 3 comments

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When button is programatically focused it should render as if it has focus.

What is the current behavior?

It seems to have focus set, if I hit the tab key it moves to the next control, but it does not render as if it has focus.

What are the steps to reproduce?

Plunker: http://plnkr.co/edit/HhD8eF?p=preview

What is the use-case or motivation for changing an existing behavior?

I would like to set a button in a view as the focused element so that the user does not have to select the button using the mouse or keyboard.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Latest Angular, Material 2, TypeScript 2.4.2, on a Windows OS computer in Chrome, FireFox, and Edge

Is there anything else we should know?

Nope

anwalkers avatar Aug 01 '17 16:08 anwalkers

This should be resolved by https://github.com/angular/material2/pull/5966.

crisbeto avatar Aug 01 '17 19:08 crisbeto

This will be resolved by #5966.

anwalkers avatar Aug 02 '17 15:08 anwalkers

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.