An ATproto social media client -- with an independent Appview.
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

[🐴] Improve message pressing (#3864)

* allow tapping message when keyboard open

* dismiss keyboard on open msg menu

* show message info on press

* Revert "show message info on press"

This reverts commit 61d039a7024c27583aed7d1e9f1ff5b919dc7d30.

authored by

Samuel Newman and committed by
GitHub
7448c8f7 91f82025

+3 -1
+2 -1
src/components/dms/ActionsWrapper.tsx
··· 1 1 import React, {useCallback} from 'react' 2 - import {Pressable, View} from 'react-native' 2 + import {Keyboard, Pressable, View} from 'react-native' 3 3 import Animated, { 4 4 cancelAnimation, 5 5 runOnJS, ··· 38 38 // Reanimated's `runOnJS` doesn't like refs, so we can't use `runOnJS(menuControl.open)()`. Instead, we'll use this 39 39 // function 40 40 const open = useCallback(() => { 41 + Keyboard.dismiss() 41 42 menuControl.open() 42 43 }, [menuControl]) 43 44
+1
src/screens/Messages/Conversation/MessagesList.tsx
··· 225 225 initialNumToRender={isWeb ? 50 : 25} 226 226 maxToRenderPerBatch={isWeb ? 50 : 25} 227 227 keyboardDismissMode="on-drag" 228 + keyboardShouldPersistTaps="handled" 228 229 maintainVisibleContentPosition={{ 229 230 minIndexForVisible: 1, 230 231 }}