Skip to content

Commit dd029ce

Browse files
fix(combobox): remove platform prop
1 parent edaa979 commit dd029ce

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/kit-headless/src/components/combobox/combobox-listbox.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import type {
3131
AutoPlacementOptions,
3232
HideOptions,
3333
InlineOptions,
34-
Platform,
3534
} from '@floating-ui/core';
3635

3736
import ComboboxContextId from './combobox-context-id';
@@ -58,8 +57,7 @@ export type ComboboxListboxProps = {
5857
onPositionComputed?: (resolvedData: ComputePositionReturn) => void;
5958

6059
// misc
61-
transform: string;
62-
platform: Platform;
60+
transform?: string;
6361
} & QwikIntrinsicElements['ul'];
6462

6563
export const ComboboxListbox = component$(
@@ -79,7 +77,6 @@ export const ComboboxListbox = component$(
7977
animationFrame = false,
8078
onPositionComputed,
8179
transform,
82-
platform,
8380
...props
8481
}: ComboboxListboxProps) => {
8582
const context = useContext<ComboboxContext<O>>(ComboboxContextId);
@@ -109,7 +106,6 @@ export const ComboboxListbox = component$(
109106
{
110107
placement,
111108
middleware,
112-
platform,
113109
},
114110
).then((resolvedData) => {
115111
const { x, y } = resolvedData;

0 commit comments

Comments
 (0)