-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: MatTabGroup#focusFirst or MatTab#focus method #15007
Closed
Labels
area: material/tabs
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P5
The team acknowledges the request but does not plan to address it, it remains open for discussion
Comments
jelbourn
added
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P5
The team acknowledges the request but does not plan to address it, it remains open for discussion
labels
Feb 6, 2019
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 18, 2019
Adds a method that allows for focus to be moved to a particular tab. This is usually tricky, because all of the DOM elements are hidden away inside the tab group template. Fixes angular#15007.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
May 26, 2019
Adds a method that allows for focus to be moved to a particular tab. This is usually tricky, because all of the DOM elements are hidden away inside the tab group template. Fixes angular#15007.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 5, 2020
Adds a method that allows for focus to be moved to a particular tab. This is usually tricky, because all of the DOM elements are hidden away inside the tab group template. Fixes angular#15007.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 21, 2020
Adds a method that allows for focus to be moved to a particular tab. This is usually tricky, because all of the DOM elements are hidden away inside the tab group template. Fixes angular#15007.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Dec 19, 2020
Adds a method that allows for focus to be moved to a particular tab. This is usually tricky, because all of the DOM elements are hidden away inside the tab group template. Fixes angular#15007.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Dec 25, 2020
Adds a method that allows for focus to be moved to a particular tab. This is usually tricky, because all of the DOM elements are hidden away inside the tab group template. Fixes angular#15007.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 9, 2021
Adds a method that allows for focus to be moved to a particular tab. This is usually tricky, because all of the DOM elements are hidden away inside the tab group template. Fixes angular#15007.
This was referenced Mar 17, 2021
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: material/tabs
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P5
The team acknowledges the request but does not plan to address it, it remains open for discussion
Please describe the feature you would like to request.
I would like to be able to programatically set focus on the first tab in an template-referenced exported Material Tab Group instance, much like the focus method on MatListOption#focus. or MatMenu#focusFirstItem
What is the use-case or motivation for this proposal?
It's very "nice to have", but it would make the available API consistent with other Material Components that has focus methods.
Any available focus method is helpful in avoiding document queries. Code feels cleaner without them.
The text was updated successfully, but these errors were encountered: