dhis2 / ui

Components and related resources for the DHIS2 design system
https://ui.dhis2.nu
BSD 3-Clause "New" or "Revised" License
40 stars 15 forks source link

fix: do not hijack input when inside a menu #1551

Closed kabaros closed 3 months ago

kabaros commented 3 months ago

When an input is inside a menu item, the logic to handle a space (for accessibility) was hijacking any spaces entered in the input. Now we're restricting the handling of spaces for toggling a menu item to the menu item itself. (Bug Reported by Tracker)

I added a test to recreate the bug, and validate the fix.

dhis2-bot commented 3 months ago

🚀 Deployed on https://pr-1551--dhis2-ui.netlify.app

dhis2-bot commented 3 months ago

:tada: This PR is included in version 9.10.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: