Преглед изворни кода

Revert "Merge pull request #6573 from weseek/feat/fix-sticky-error"

This reverts commit 027671f3640626c88a973ee69e75aafee563e15a, reversing
changes made to a96fbddd4828e67651d583f6db6d414d2590f25e.
Yuki Takei пре 3 година
родитељ
комит
cbf2692553

+ 1 - 1
packages/app/src/components/Fab.module.scss

@@ -3,7 +3,7 @@
   // https://stackoverflow.com/a/57667536
   .fadeInUp {
     & :local {
-      animation: fab-fadeinup 0.5s ease 0s;
+      animation: fab-fadeinup 1s ease 0s;
     }
   }
   .fadeOut {

+ 3 - 7
packages/app/src/components/Layout/BasicLayout.tsx

@@ -19,8 +19,8 @@ const PageDeleteModal = dynamic(() => import('../PageDeleteModal'), { ssr: false
 const PageRenameModal = dynamic(() => import('../PageRenameModal'), { ssr: false });
 const PagePresentationModal = dynamic(() => import('../PagePresentationModal'), { ssr: false });
 const PageAccessoriesModal = dynamic(() => import('../PageAccessoriesModal'), { ssr: false });
-// // Fab
-// const Fab = dynamic(() => import('../Fab'), { ssr: false });
+// Fab
+const Fab = dynamic(() => import('../Fab'), { ssr: false });
 
 
 type Props = {
@@ -60,11 +60,7 @@ export const BasicLayout = ({
       <PageAccessoriesModal />
       {/* <HotkeysManager /> */}
 
-      {/*
-      * Comment out to prevent err >>> TypeError: Cannot read properties of null (reading 'bottom')
-      * This err occurs when moving to "grw-fav-sticky-trigger" pages.
-      */ }
-      {/* <Fab /> */}
+      <Fab />
 
       <ShortcutsModal />
       <SystemVersion showShortcutsButton />