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
do not animate bottom button when keyboard opens
ammarahm-edaf3d98fac534
diff --git a/apps/mobile/src/components/Container/ContainerBottomButton.js b/apps/mobile/src/components/Container/ContainerBottomButton.jsindex 37cfb5395..164d9fdd9 100644--- a/apps/mobile/src/components/Container/ContainerBottomButton.js+++ b/apps/mobile/src/components/Container/ContainerBottomButton.js@@ -11,17 +11,15 @@ import {normalize, SIZE} from '../../utils/SizeUtils';import {PressableButton} from '../PressableButton';import RNTooltips from 'react-native-tooltips';-const translateY = new Animated.Value(0);+//const translateY = new Animated.Value(0);export const ContainerBottomButton = ({title,onPress,color = 'accent',shouldShow = false,}) => {- const [state] = useTracked();- const {colors} = state;const insets = useSafeAreaInsets();-+/*function animate(translate) {Animated.timing(translateY, {toValue: translate,@@ -48,7 +46,7 @@ export const ContainerBottomButton = ({Keyboard.removeListener('keyboardDidHide', onKeyboardHide);};}, []);-+ */return DDS.isLargeTablet() && !shouldShow ? null : (<Animated.Viewstyle={{@@ -59,14 +57,14 @@ export const ContainerBottomButton = ({? insets.bottom - 10: insets.bottom + 12,zIndex: 10,- transform: [+ /* transform: [{translateY: translateY,},{translateX: translateY,},- ],+ ], */}}><PressableButtontestID={notesnook.ids.default.addBtn}