diff --git a/ts/components/Collapsible.svelte b/ts/components/Collapsible.svelte
index 4efb2257d..247a31ed2 100644
--- a/ts/components/Collapsible.svelte
+++ b/ts/components/Collapsible.svelte
@@ -78,34 +78,35 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-{#if measuring}
+{#if animated && measuring}
{/if}
diff --git a/ts/editor/NoteCreator.svelte b/ts/editor/NoteCreator.svelte
index 064c78180..d560c0320 100644
--- a/ts/editor/NoteCreator.svelte
+++ b/ts/editor/NoteCreator.svelte
@@ -45,7 +45,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-
-
+
+
diff --git a/ts/editor/NoteEditor.svelte b/ts/editor/NoteEditor.svelte
index 544c7bd12..d7889775d 100644
--- a/ts/editor/NoteEditor.svelte
+++ b/ts/editor/NoteEditor.svelte
@@ -468,7 +468,7 @@ the AddCards dialog) should be implemented in the user of this component.
{/if}
{#if plainTextDefaults[index]}
{:else}
diff --git a/ts/editor/PlainTextBadge.svelte b/ts/editor/PlainTextBadge.svelte
index a51e057f2..43d602abc 100644
--- a/ts/editor/PlainTextBadge.svelte
+++ b/ts/editor/PlainTextBadge.svelte
@@ -11,11 +11,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import { context as editorFieldContext } from "./EditorField.svelte";
import { plainTextIcon } from "./icons";
+ const animated = !document.body.classList.contains("reduced-motion");
+
const editorField = editorFieldContext.get();
const keyCombination = "Control+Shift+X";
const dispatch = createEventDispatcher();
- export let visible = false;
+ export let show = false;
export let off = false;
function toggle() {
@@ -31,7 +33,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
diff --git a/ts/editor/RichTextBadge.svelte b/ts/editor/RichTextBadge.svelte
index 180925395..69401aba2 100644
--- a/ts/editor/RichTextBadge.svelte
+++ b/ts/editor/RichTextBadge.svelte
@@ -11,11 +11,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import { context as editorFieldContext } from "./EditorField.svelte";
import { richTextIcon } from "./icons";
+ const animated = !document.body.classList.contains("reduced-motion");
+
const editorField = editorFieldContext.get();
const keyCombination = "Control+Shift+X";
const dispatch = createEventDispatcher();
- export let visible = false;
+ export let show = false;
export let off = false;
function toggle() {
@@ -31,7 +33,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
diff --git a/ts/editor/StickyBadge.svelte b/ts/editor/StickyBadge.svelte
index a8f038aea..862a21b53 100644
--- a/ts/editor/StickyBadge.svelte
+++ b/ts/editor/StickyBadge.svelte
@@ -12,8 +12,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import { context as editorFieldContext } from "./EditorField.svelte";
import { stickyIcon } from "./icons";
+ const animated = !document.body.classList.contains("reduced-motion");
+
export let active: boolean;
- export let visible: boolean;
+ export let show: boolean;
const editorField = editorFieldContext.get();
const keyCombination = "F9";
@@ -33,7 +35,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
onMount(() => editorField.element.then(shortcut));
-
+
{@html stickyIcon}