[pickers][DesktopDatePicker] entering date with keyboard breaks after timezone prop changed #15628
Labels
bug 🐛
Something doesn't work
component: pickers
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Steps to reproduce
Steps:
https://codesandbox.io/p/sandbox/quizzical-bush-vqslzr
Current behavior
While writing the number for the year, the number for the day shifts by 1.
Expected behavior
Date should remain the way it was typed.
Context
This seems to happen when the value passed to the timezone prop changes: In this example, it starts off as undefined, and then changes to "Europe/Berlin". Note that this all happens before the date is ever entered, and the bug only seems to occur only the first time the date is being entered.
Your environment
No response
Search keywords: DesktopDatePicker timezone keyboard date
The text was updated successfully, but these errors were encountered: