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
mobile: fix ext height behind keyboard on mobile
ammarahm-ede85cc6ac5613
diff --git a/apps/mobile/share/share.js b/apps/mobile/share/share.jsindex a725e2d88..8826d5ae9 100644--- a/apps/mobile/share/share.js+++ b/apps/mobile/share/share.js@@ -26,6 +26,7 @@ import React, { useCallback, useEffect, useRef, useState } from "react";import {ActivityIndicator,Alert,+ Dimensions,Image,Keyboard,Platform,@@ -220,9 +221,9 @@ const ShareView = ({ quicknote = false }) => {const [kh, setKh] = useState(0);globalThis["IS_SHARE_EXTENSION"] = true;const onKeyboardDidShow = (event) => {- let kHeight = event.endCoordinates.height;- keyboardHeight.current = kHeight;- setKh(kHeight);+ let height = Dimensions.get("window").height - event.endCoordinates.screenY;+ keyboardHeight.current = height;+ setKh(height);};const onKeyboardDidHide = () => {