Fix Combobox issue when using virtual mode (#3734)

This PR fixes an issue with the `Combobox` component when using the
`virtual` mode.

We recently already fixed this issue
(https://github.com/tailwindlabs/headlessui/pull/3678) by applying a
patch on the `@tanstack/virtual-core` package. But this was only applied
in cjs builds, not in the esm builds.

Instead of trying to fix it in our build process, we decided to just fix
it upstream (https://github.com/TanStack/virtual/pull/1004) and this PR
bumps the version of `@tanstack/virtual-core` to the latest version
(which includes the fix).
This commit is contained in:
Robin Malfait
2025-05-20 16:11:26 +02:00
committed by GitHub
parent 8a24040316
commit d689bbc64f
5 changed files with 22 additions and 319 deletions
+1 -3
View File
@@ -25,8 +25,7 @@
"lint-types": "CI=true npm run lint-types --workspaces --if-present",
"release-channel": "node ./scripts/release-channel.js",
"release-notes": "node ./scripts/release-notes.js",
"package-path": "node ./scripts/package-path.js",
"postinstall": "patch-package"
"package-path": "node ./scripts/package-path.js"
},
"husky": {
"hooks": {
@@ -77,7 +76,6 @@
"jest": "26",
"lint-staged": "^12.2.1",
"npm-run-all": "^4.1.5",
"patch-package": "^8.0.0",
"prettier": "^3.1.0",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.6.11",