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
add animation to base dialog
ammarahm-ed0b64bbcf7484
diff --git a/apps/mobile/src/components/Dialog/BaseDialog.js b/apps/mobile/src/components/Dialog/BaseDialog.jsindex 6b346a5bf..46bd7f0ff 100644--- a/apps/mobile/src/components/Dialog/BaseDialog.js+++ b/apps/mobile/src/components/Dialog/BaseDialog.js@@ -51,10 +51,8 @@ const BaseDialog = ({<KeyboardAvoidingViewenabled={!floating && Platform.OS === 'ios'}behavior="padding">--<BouncingView- duration={400}+ duration={400}style={[styles.backdrop,{@@ -65,11 +63,11 @@ const BaseDialog = ({: 'flex-start'}]}>- <TouchableOpacity- onPress={onRequestClose}- style={styles.overlayButton}- />- {premium}+ <TouchableOpacity+ onPress={onRequestClose}+ style={styles.overlayButton}+ />+ {premium}{children}</BouncingView></KeyboardAvoidingView>@@ -88,7 +86,7 @@ const styles = StyleSheet.create({overlayButton: {width: '100%',height: '100%',- position: 'absolute',+ position: 'absolute'}});diff --git a/apps/mobile/src/components/Dialog/DialogContainer.js b/apps/mobile/src/components/Dialog/DialogContainer.jsindex 2a8d17b57..7ee648339 100644--- a/apps/mobile/src/components/Dialog/DialogContainer.js+++ b/apps/mobile/src/components/Dialog/DialogContainer.js@@ -13,7 +13,7 @@ const DialogContainer = ({width, height, ...restProps}) => {{...restProps}style={{...getElevation(5),- width: width || DDS.isTab ? 400 : '85%',+ width: width || DDS.isTab ? 500 : '85%',maxHeight: height || 450,borderRadius: 10,backgroundColor: colors.bg,