-
Notifications
You must be signed in to change notification settings - Fork 337
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
Issue with Spacebar Closing the Dropdown in Advanced Select #528
Comments
Up |
In our application we also observe this error, but also sometimes the spacebar just does not do anything, e.g. typing "Northern Ireland" will end up as "NorthernIreland". If that bug is not fixed by fixing this issue here, I will go into more detail... |
Noticed the same thing as everybody else. It makes searching with two words very difficult |
I have the same problem, i reported it |
The issue has been fixed internally and it will be available soon with the next release. Thanks! |
The fixies are live with v3.0 Preline UI release. |
Summary
The issue occurs in an advanced select component where pressing the spacebar in the search input causes the dropdown to close unexpectedly. This prevents users from entering multi-word search terms, such as "United Arab Emirates." The dropdown should remain open when typing a space to allow users to continue entering their search query.
Steps to Reproduce
Description:
When using the advanced select input to search for a country name (e.g., "Northern Ireland"), the dropdown unexpectedly closes when pressing the spacebar. This prevents users from entering multi-word names, such as "Northern Ireland, United Arab Emirates" into the search field.
Steps to Reproduce:
Demo Link
https://preline.co/docs/advanced-select.html#search-inside-dropdown
Expected Behavior
The dropdown should remain open when pressing the spacebar, allowing users to type multi-word names like "Northern Ireland" without the dropdown closing prematurely.
Actual Behavior
Pressing the spacebar causes the dropdown to close, making it difficult to enter multi-word search terms.
Screenshots
No response
The text was updated successfully, but these errors were encountered: