Describe the bug
The DatePicker component behaves unexpectedly when it is part of an HTML form that has a Submit button. The things that happen are as follows:
- If you focus the DatePicker and press Enter, the popup of the component opens
- If there are two DatePickers inside the HTML form, focusing on the second DatePicker and pressing Enter, opens the popup of the first DatePicker
To Reproduce
Scenario 1:
- Open this project
- Focus the DatePicker and press Enter
Scenario 2:
- Open this project
- Focus on the second DatePicker and press Enter
Expected behavior
When pressing Enter inside the HTML form, the form should be submitted and no DatePicker popups should open