fix(ui): prevent stale pointer lock from menus and select

This commit is contained in:
t8y2 committed 2026-05-21 17:21:37 +08:00
1 parent b1519b9b60
commit 34ffb91861
5 files changed
+25 -4

No files matched your search

@@ -11,10 +11,17 @@ defineOptions({
});
const props = withDefaults(
defineProps<SelectContentProps & { class?: HTMLAttributes["class"]; disablePortal?: boolean }>(),
defineProps<
SelectContentProps & {
class?: HTMLAttributes["class"];
disablePortal?: boolean;
disableOutsidePointerEvents?: boolean;
}
>(),
{
position: "popper",
disablePortal: false,
disableOutsidePointerEvents: false,
},
);
const emits = defineEmits<SelectContentEmits>();