Skip to content

Conversation

@slizhevskyv-semrush
Copy link
Contributor

Motivation and Context

Pressing Space in the Date Picker does not switch months, apply “Today” and save chosen date. The fix restores correct Space key behavior for these interactions.

How has this been tested?

Manually

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Nice improve.

Checklist:

  • I have updated the documentation accordingly.
  • I have added changelog note to corresponding CHANGELOG.md file with planned publish date.
  • I have added new tests on added of fixed functionality.

this.handlers.value(highlighted[0]);
if (place === 'popper' && (e.key === ' ' || e.key === 'Enter')) {
if (highlighted.length) {
if (!this.isDisabled(highlighted[0])) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe if (highlighted.length && !this.isDisabled(highlighted[0])) in one row?

ilyabrower
ilyabrower previously approved these changes Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants