-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Fix and Improve period selection via keyboard navigation #23768
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
base: 5.x-dev
Are you sure you want to change the base?
Conversation
c9eab06 to
cf6189f
Compare
7fa9098 to
c6a3a02
Compare
73144e6 to
909c0c6
Compare
| event: MouseEvent|KeyboardEvent, | ||
| ) { | ||
| if (element.classList.contains('expanded')) { | ||
| close(element, binding, event); |
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.
ℹ️ Restructure this part because onExpand triggered a toggle, so it was also used to close without user event triggered.
| binding.value.isMouseDown = false; | ||
| binding.value.hasScrolled = false; | ||
| element.classList.remove('expanded'); | ||
| close(element, binding, event); |
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.
ℹ️ There was no onClosed event triggered either here.
Description
UX-300
Fix period selection with keyboard navigation
It was impossible to open the period selection form.
Checklist
Review