Skip to content

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

fix: focus jump to properties when pressing tab in editor

thecodrrea2118973a02
diff --git a/apps/web/src/components/properties/index.js b/apps/web/src/components/properties/index.js
index 926a8918d..b6c3ddbe7 100644
--- a/apps/web/src/components/properties/index.js
+++ b/apps/web/src/components/properties/index.js
@@ -66,7 +66,10 @@ function Properties() {
!isFocusMode && (
<>
<Animated.Flex
- animate={{ x: arePropertiesVisible ? 0 : 800 }}
+ animate={{
+ x: arePropertiesVisible ? 0 : 800,
+ display: arePropertiesVisible ? "flex" : "none",
+ }}
transition={{
duration: 0.3,
bounceDamping: 1,