Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: keyboard jumps when changing list style

thecodrr1cfcc12da952
diff --git a/packages/editor/src/toolbar/tools/lists.tsx b/packages/editor/src/toolbar/tools/lists.tsx
index 38428f6ba..823226ca6 100644
--- a/packages/editor/src/toolbar/tools/lists.tsx
+++ b/packages/editor/src/toolbar/tools/lists.tsx
@@ -211,6 +211,7 @@ function ListThumbnail(props: ListThumbnailProps) {
p: 0,
listStyleType,
}}
+ onMouseDown={(e) => e.preventDefault()}
>
{[0, 1, 2].map((i) => (
<Box