-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bound signal updates on the combobox (#968)
* initial tests * get values with arrays instead * reactively update * make selection manager cleaner * remove unnecessary addition * fix: onChange$ only executes on client & simpler disabled state * feat: simpler invalid check * remove early return * feat: simplify inline component * simpler initial value naming * refactor: better context names * fix: combobox closes on enter key * fix: combobox properly resets when empty * get correct initial value reactively * fix: highlight jumping * multiple shows correct display * fix: undefined does not become part of the input * fix: handle proper empty input * feat: use local index instead * fix: last filtered item now gets highlighted on down key * fix: preserve item disabled state * fix: combobox empty now properly shows for both filter and non-filtered comboboxes * fix: removing items on backspace * respect input's given signal first * refactor: remove all the logs * fix: combobox scrolling * fix: form submissions * fix: pw tests * refactor: remove test since behavior is no longer warranted * fix: mouse should not affect initial keyboard highlight * feat: changeset
- Loading branch information
1 parent
c818eec
commit 6655bad
Showing
11 changed files
with
412 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
'@qwik-ui/headless': patch | ||
--- | ||
|
||
# Combobox Improvements | ||
|
||
## 🔄 Reactive Improvements | ||
|
||
- Better handling of array-based values | ||
- Improved handling of initial and reactive values | ||
|
||
## 🐛 Key Bug Fixes | ||
|
||
- Fixed highlight jumping issues | ||
- Enhanced empty input handling | ||
- Better filtered item highlighting | ||
|
||
## 🖱️ Interaction Enhancements | ||
|
||
- Smoother scrolling experience | ||
- Improved keyboard and mouse coordination | ||
|
||
## 🚀 Performance Optimizations | ||
|
||
- More efficient item filtering | ||
|
||
## 🧪 Reliability | ||
|
||
- Added tests for reactivity handling, item unselection, and mouse-to-pointer interaction switching | ||
|
||
- Improved handling of edge cases in user interactions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.