Commit 1a440e1
authored
Fix issues with scrolling in a virtual combobox (#3163)
* Scrolling to active option in combobox after opening when last option was selected with the mouse
* Allow virtual combobox to scroll freely with mouse wheel after changing options with keyboard
* Update changelog1 parent db702a7 commit 1a440e1
File tree
2 files changed
+15
-0
lines changed- packages/@headlessui-react
- src/components/combobox
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
199 | 206 | | |
200 | 207 | | |
201 | 208 | | |
| |||
1651 | 1658 | | |
1652 | 1659 | | |
1653 | 1660 | | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
1654 | 1667 | | |
1655 | 1668 | | |
1656 | 1669 | | |
| |||
1662 | 1675 | | |
1663 | 1676 | | |
1664 | 1677 | | |
| 1678 | + | |
1665 | 1679 | | |
1666 | 1680 | | |
1667 | 1681 | | |
| |||
0 commit comments