@marianmeres/stuic 2.1.28 → 2.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
//
|
|
31
31
|
onOutside?: () => void;
|
|
32
32
|
// onOutsideEnabled?: boolean;
|
|
33
|
+
noBackdropScrollLock?: boolean;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
let {
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
animOffset = "75vw",
|
|
49
50
|
onEscape,
|
|
50
51
|
onOutside,
|
|
52
|
+
noBackdropScrollLock,
|
|
51
53
|
// onOutsideEnabled = true,
|
|
52
54
|
}: Props = $props();
|
|
53
55
|
|
|
@@ -136,6 +138,7 @@
|
|
|
136
138
|
fadeOutDuration={transitionDuration}
|
|
137
139
|
{onEscape}
|
|
138
140
|
onmousedown={() => onOutside?.()}
|
|
141
|
+
noScrollLock={noBackdropScrollLock}
|
|
139
142
|
>
|
|
140
143
|
<!-- svelte-ignore a11y_interactive_supports_focus -->
|
|
141
144
|
<!-- svelte-ignore a11y_click_events_have_key_events -->
|