Closed
Description
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Set autoFocus config property on the bottom sheet component (just like dialog) to configure if the first item in the bottom sheet should be focused (highlighted)
What is the current behavior?
No autoFocus on BottomSheet config
What are the steps to reproduce?
- Create a bottom sheet component
- Open bottom sheet with config (no property for setting if it should be auto focused)
What is the use-case or motivation for changing an existing behavior?
- Keep it consistent with the dialog config as they are very similar
- Prevent highlighting (focus) on list items or buttons when opening the bottom sheet
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
v6.2.1
Is there anything else we should know?
If this is added potentially add it to the global config token as well