-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Expose the focusOptions (https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus) provided by the underlying HTMLElement.focus API in focus() functions such as MatButton.focus() . This will allow the application to prevent scrolling when the element is focused.
What is the current behavior?
The focusOptions is not exposed.
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
N/A
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
N/A
Is there anything else we should know?
N/A
Metadata
Metadata
Assignees
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix