Bug Description
When user open Date Picker calendar dropdown and select date that is next or previous month range (without switching month preview), calendar switch view to that month and select date that is in clicked position, instead of date that user selected.
See screen recording:
https://github.com/user-attachments/assets/b2771c0e-e861-4cf7-bd98-07b1bbaba6b1
Affected Component
Calendar, Date Picker
Expected Behaviour
When user select date that overlaps currently displayed month, clicked date is selected.
Isolated Example
https://ui5.github.io/webcomponents/components/DatePicker/
Steps to Reproduce
- Open calendar dropdown
- See full month, with preview of few days of next month - for example, open month June
- Click on next month day to select this date - for example 1st of July
- Dropdown is closed, and instead of 1st of July,
29 Jul 2026 is selected (because it is clicked item position after calendar switch to next month preview)
Log Output, Stack Trace or Screenshots
No response
Priority
High
UI5 Web Components Version
2.23.2
Browser
Chrome
Operating System
No response
Additional Context
UDEx Ticket https://github.tools.sap/sapudex/digital-design-system/issues/3372
Organization
SAP UDEx
Declaration
Bug Description
When user open Date Picker calendar dropdown and select date that is next or previous month range (without switching month preview), calendar switch view to that month and select date that is in clicked position, instead of date that user selected.
See screen recording:
https://github.com/user-attachments/assets/b2771c0e-e861-4cf7-bd98-07b1bbaba6b1
Affected Component
Calendar, Date Picker
Expected Behaviour
When user select date that overlaps currently displayed month, clicked date is selected.
Isolated Example
https://ui5.github.io/webcomponents/components/DatePicker/
Steps to Reproduce
29 Jul 2026is selected (because it is clicked item position after calendar switch to next month preview)Log Output, Stack Trace or Screenshots
No response
Priority
High
UI5 Web Components Version
2.23.2
Browser
Chrome
Operating System
No response
Additional Context
UDEx Ticket https://github.tools.sap/sapudex/digital-design-system/issues/3372
Organization
SAP UDEx
Declaration