Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bottom-sheet): not moving focus to container if autoFocus is disa…
…bled and focus was moved while animating (angular#16418) These changes incorporate angular#16297 and angular#16221 into the bottom sheet since it follows a similar focus capturing behavior to `MatDialogContainer`. They ensure that focus is on the bottom sheet container when the animation is over, because it could've moved while we were animating. It also has an extra check to ensure that we don't move focus unnecessarily if the consumer decided to move focus themselves somewhere within the bottom sheet.
- Loading branch information