Closed (fixed)
Project:
Chosen
Version:
5.0.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 May 2026 at 08:00 UTC
Updated:
7 Jun 2026 at 09:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dkmishra commentedI tested this issue on my local environment but was unable to reproduce the focus loss behavior after keyboard selection.
Tested with:
Drupal version: 11.3
Chosen version/module branch: 5.0.5
Browser: Chrome
OS: Linux
Steps tested:
Opened a page with a Chosen select field
Opened the dropdown using keyboard navigation
Selected an option using arrow keys + Enter
Focus remained on the Chosen element after selection
Comment #3
nagy.balint commentedThe issue was fixed in the library.
Unfortunately we cannot force the library update in this module, we can only change the version number in the readme and drush commands.
Comment #4
anmol singh commentedI think in
composer.libraries.jsonupdate the library version and it will automatically update the code.Comment #5
nagy.balint commentedThat only works if you use wikimedia/composer-merge-plugin, but most users don't.
Comment #7
nagy.balint commented