fix: add 5px offset between combobox popover and anchor on web

This commit is contained in:
Mohamed Boudra
2026-04-10 22:05:33 +07:00
parent 404b3b1dbf
commit 2bbdc7ed86

View File

@@ -322,7 +322,7 @@ export function Combobox({
const middleware = useMemo(
() => [
floatingOffset(Platform.OS === "web" ? 0 : 4),
floatingOffset(Platform.OS === "web" ? 5 : 4),
...(Platform.OS === "web" ? [] : [flip({ padding: collisionPadding })]),
...(isDesktopAboveSearch ? [] : [shift({ padding: collisionPadding })]),
floatingSize({