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
enable bounce animation by default
ammarahm-ed0db453d8ed8b
diff --git a/apps/mobile/src/components/AddTopicDialog/index.js b/apps/mobile/src/components/AddTopicDialog/index.jsindex fb53604e8..7af89273d 100644--- a/apps/mobile/src/components/AddTopicDialog/index.js+++ b/apps/mobile/src/components/AddTopicDialog/index.js@@ -1,5 +1,10 @@import React, {createRef} from 'react';-import {View} from 'react-native';+import {Keyboard, LayoutAnimation, UIManager, View} from 'react-native';+import {+ Transition,+ Transitioning,+ TransitioningView+} from 'react-native-reanimated';import {useMenuStore} from '../../provider/stores';import {eSubscribeEvent,@@ -27,6 +32,7 @@ export class AddTopicDialog extends React.Component {loading: false};+ this.ref = createRef();this.title;this.titleRef = createRef();this.notebook = null;@@ -109,9 +115,12 @@ export class AddTopicDialog extends React.Component {text: this.toEdit.title});}++ this.ref.current?.animateNextTransition();await sleep(300);this.titleRef.current?.focus();}}+ bounce={false}statusBarTranslucent={false}visible={true}onRequestClose={this.close}>diff --git a/apps/mobile/src/components/Dialog/BaseDialog.js b/apps/mobile/src/components/Dialog/BaseDialog.jsindex 6ab84af64..c78bd2199 100644--- a/apps/mobile/src/components/Dialog/BaseDialog.js+++ b/apps/mobile/src/components/Dialog/BaseDialog.js@@ -1,5 +1,6 @@import React, {useEffect} from 'react';import {+ Keyboard,KeyboardAvoidingView,Modal,Platform,@@ -24,7 +25,7 @@ const BaseDialog = ({bottom = false,background = null,animated = true,- bounce,+ bounce = true,closeOnTouch = true}) => {const floating = useIsFloatingKeyboard();