Skip to content

Commit 99cdf91

Browse files
authored
Implement new virtual API for the Combobox component (#2779)
* add `(Vue)` or `(React)` to playground header * show amount of items in virtualized example * improve calculating the active index * disable strict mode * update virtualized playground examples with preferred API * optimize `calculateActiveIndex` * implement new `virtual` API * update changelog
1 parent d4a94cb commit 99cdf91

File tree

14 files changed

+2146
-3874
lines changed

14 files changed

+2146
-3874
lines changed

packages/@headlessui-react/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
### Added
2222

2323
- Add `immediate` prop to `<Combobox />` for immediately opening the Combobox when the `input` receives focus ([#2686](https://github.com/tailwindlabs/headlessui/pull/2686))
24-
- Add `virtual` prop to `Combobox` component ([#2740](https://github.com/tailwindlabs/headlessui/pull/2740))
24+
- Add `virtual` prop to `Combobox` component ([#2779](https://github.com/tailwindlabs/headlessui/pull/2779))
2525

2626
## [1.7.17] - 2023-08-17
2727

packages/@headlessui-react/src/components/combobox/combobox.test.tsx

Lines changed: 583 additions & 1716 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)