-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Feature request: MatTabGroup#focusFirst or MatTab#focus method #15007
Copy link
Copy link
Closed
livepoll/live-poll
#189Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/tabsfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/tabsfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues