improve output picker floating config

This commit is contained in:
Ruben Fiszel
2025-04-27 14:50:27 +02:00
parent 1b1691837a
commit c599857e4a
@@ -35,7 +35,6 @@
export let documentationLink: string | undefined = undefined
let fullScreen = false
const dispatch = createEventDispatcher()
const {
@@ -69,11 +68,11 @@
}
})
$: $positioning = floatingConfig ?? {
$positioning = floatingConfig ?? {
placement,
strategy: fullScreen ? 'fixed' : 'absolute',
x: fullScreen ? 0 : undefined,
y: fullScreen ? 0 : undefined
strategy: 'absolute',
x: undefined,
y: undefined
}
export let isOpen = false