Skip to content

Tabbing into first input in custom form field control doesn't cause the control to be focused properly. Doesn't happen until tabbing to the second input #10998

@petsmatt

Description

@petsmatt

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Tabbing into the first element of the custom form field control should cause the control to gain focus and display the child input fields.

What is the current behavior?

Tabbing into the first element places the cursor over the placeholder text only and doesn't open up the input properly

What are the steps to reproduce?

This can be seen in the current documentation with the example provided on (https://material.angular.io/guide/creating-a-custom-form-field-control) tabbing into the custom phone number field doesn't cause the first part of the custom phone number to gain focus

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

User experience

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

^5.2.4

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions