-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ui5-calendar): autofocus on render #10739
base: main
Are you sure you want to change the base?
Conversation
The calendar should not auto-focus for sure (for reasons explained in the issue) However, we must make sure all popup-based components (datepicker/datetimepicker come to mind) that took advantage of this auto-focusing behavior work correctly now). Please check. |
Compared to the behaviour in main branch and they are working in the same way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, maybe wait for someone from Team B to have a look too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Focus behaviour when the ui5-calendar
is with ui5-calendar-legend
is not correct.
Navigating through the calendar header should focus either first or the last day of the calendar (1st if next month, last if previous month). Please refer:
Now
Correct
Also if a day is focused with tab, and the same action is performed (change month through header), when the month is changed the focus is perseved, which is incorrect, it should be again 1st day of the month, or the last one.
There are 2 solutions IMO:
@nnaydenow @hinzzx What do you think? |
Fixes: #10728