diff --git a/packages/bbui/src/Modal/Modal.svelte b/packages/bbui/src/Modal/Modal.svelte
index f1a51d0ea1..4253da9b30 100644
--- a/packages/bbui/src/Modal/Modal.svelte
+++ b/packages/bbui/src/Modal/Modal.svelte
@@ -7,9 +7,10 @@
import Context from "../context"
export let fixed = false
+ export let inline = false
const dispatch = createEventDispatcher()
- let visible = !!fixed
+ let visible = fixed || inline
$: dispatch(visible ? "show" : "hide")
export function show() {
@@ -20,7 +21,7 @@
}
export function hide() {
- if (!visible || fixed) {
+ if (!visible || fixed || inline) {
return
}
visible = false
@@ -45,7 +46,13 @@