A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
editor: fix action sheets not opening
Abdullah Atta5c386148a42b
diff --git a/packages/editor/src/components/action-sheet/index.tsx b/packages/editor/src/components/action-sheet/index.tsxindex 8a4e19709..1523daf98 100644--- a/packages/editor/src/components/action-sheet/index.tsx+++ b/packages/editor/src/components/action-sheet/index.tsx@@ -158,7 +158,7 @@ export function ActionSheetPresenter(onRequestClose={() => onBeforeClose()}portalClassName={"bottom-sheet-presenter-portal"}onAfterOpen={() => {- animation.start({ transition: TRANSITION, y: 0 });+ setTimeout(() => animation.start({ transition: TRANSITION, y: 0 }));}}overlayElement={(overlayElementProps, contentEl) => {return (@@ -250,7 +250,9 @@ export function ActionSheetPresenter(if (y.get() >= closingHeight) {onBeforeClose();} else {- animation.start({ transition: TRANSITION, y: 0 });+ setTimeout(() =>+ animation.start({ transition: TRANSITION, y: 0 })+ );}}}dragConstraints={{ top: 0, bottom: 0 }}