Skip to content

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

editor: fix action-sheet not clickable

Ammar Ahmedbbf34775123e
diff --git a/packages/editor/src/components/action-sheet/index.tsx b/packages/editor/src/components/action-sheet/index.tsx
index 41348b3c8..519efa79a 100644
--- a/packages/editor/src/components/action-sheet/index.tsx
+++ b/packages/editor/src/components/action-sheet/index.tsx
@@ -290,9 +290,10 @@ export function ActionSheetPresenter(
position: "fixed",
backgroundColor: undefined,
padding: 0,
- zIndex: 0,
+ zIndex: 1001,
outline: 0,
- isolation: "isolate"
+ isolation: "isolate",
+ userSelect: "none"
}}
>
{children}
@@ -331,7 +332,7 @@ export function ActionSheetPresenter(
id="pill"
sx={{
bg: "background-secondary",
- width: 60,
+ width: 100,
height: 8,
borderRadius: 100
}}