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.

tabs: Need better way to programmatically focus (not select) a tab. #9743

Open
@topherfangio

Description

@topherfangio

Actual Behavior:

  • What is the issue? * Currently, there is no easy way to focus a particular tab and have the styling applied properly.
  • What is the expected behavior? I should be able to call myTab.focus() or set the md-focused-index property of the <md-tabs> component to programmatically focus a tab.

CodePen (or steps to reproduce the issue): *

Angular Versions: *

  • Angular Version: All
  • Angular Material Version: 1.1.1

Additional Information:

  • Browser Type: *
  • Browser Version: *
  • OS: *
  • Stack Traces:

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

Labels

P4: minorMinor issues. May not be fixed without community contributions.g3: reportedThe issue was reported by an internal or external product team.type: enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions