You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using HeadlessUI in a preact application with a few controls, so far successfuly.
I wanted to use ComboBox, started from the example on the web site and noticed the following issue.
When initially I use arrow keys to cycle through options it works fine.
Then if I press any key that cause a filter to be succesfuly applied (so items are found) I can cycle through the items with arrow keys.
But then, when I backspace and clear the filter, now several items are showing highlighted together as I cycle through them.
If the filter was empty, then no option shows, and in such case when I erase the filter then cycle works fine.
Since it is just a copy/paste of the example code, the only difference I can see is preact vs react, but maybe I'm missing some other thing that could cause this?
I'm using headlessui 2.2.4 (now I see on the web site it shows 2.1, could that be it?)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using HeadlessUI in a
preact
application with a few controls, so far successfuly.I wanted to use ComboBox, started from the example on the web site and noticed the following issue.
When initially I use arrow keys to cycle through options it works fine.
Then if I press any key that cause a filter to be succesfuly applied (so items are found) I can cycle through the items with arrow keys.
But then, when I backspace and clear the filter, now several items are showing highlighted together as I cycle through them.
If the filter was empty, then no option shows, and in such case when I erase the filter then cycle works fine.
Since it is just a copy/paste of the example code, the only difference I can see is preact vs react, but maybe I'm missing some other thing that could cause this?
I'm using headlessui 2.2.4 (now I see on the web site it shows 2.1, could that be it?)
Beta Was this translation helpful? Give feedback.
All reactions