You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(material/datepicker): prevent calendar from stealing away focus (#31128)
An earlier change added some logic to the calendar to re-focus the active date if an input requiring a full re-render changes which can potentially cause focus to be lost.
The problem with this is that if the calendar is used on its own, it might steal away focus even though the user wasn't interacting with it.
These changes add a check that focus is inside the calendar before attempting to recapture it.
Fixes#30635.
(cherry picked from commit 5397b38)
0 commit comments