diff --git a/packages/bbui/src/Link/Link.svelte b/packages/bbui/src/Link/Link.svelte
index 49a7c2bf20..c1613378f6 100644
--- a/packages/bbui/src/Link/Link.svelte
+++ b/packages/bbui/src/Link/Link.svelte
@@ -1,17 +1,20 @@
-
\ No newline at end of file
+
diff --git a/packages/bbui/src/Modal/Modal.svelte b/packages/bbui/src/Modal/Modal.svelte
index f1116b4bba..f8d07a16df 100644
--- a/packages/bbui/src/Modal/Modal.svelte
+++ b/packages/bbui/src/Modal/Modal.svelte
@@ -5,10 +5,11 @@
import { fade, fly } from "svelte/transition"
import Portal from "svelte-portal"
import Context from "../context"
- import clickOutside from "../Actions/click_outside"
+
+ export let fixed = false
const dispatch = createEventDispatcher()
- let visible = false
+ let visible = !!fixed
$: dispatch(visible ? "show" : "hide")
export function show() {
@@ -19,7 +20,7 @@
}
export function hide() {
- if (!visible) {
+ if (!visible || fixed) {
return
}
visible = false
diff --git a/packages/bbui/src/Modal/ModalContent.svelte b/packages/bbui/src/Modal/ModalContent.svelte
index fc5bd48079..321c0177a4 100644
--- a/packages/bbui/src/Modal/ModalContent.svelte
+++ b/packages/bbui/src/Modal/ModalContent.svelte
@@ -2,7 +2,6 @@
import "@spectrum-css/dialog/dist/index-vars.css"
import { getContext } from "svelte"
import Button from "../Button/Button.svelte"
- import Heading from "../Typography/Heading.svelte"
import Divider from "../Divider/Divider.svelte"
import Icon from "../Icon/Icon.svelte"
import Context from "../context"
@@ -35,8 +34,7 @@
style="position: relative;"
role="dialog"
tabindex="-1"
- aria-modal="true"
->
+ aria-modal="true">