aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-08 15:46:10 -0400
committerGitHub <noreply@github.com>2021-07-08 15:46:10 -0400
commit083675eec3ff5b7122e43097fe565afb78beec46 (patch)
tree6dd96c3eb9cf01476e93ff765e20a8b1573bcf32
parent766c55c52071ecabc40aa527d6196c39eff01b5c (diff)
parentffa1a2eae42aab3ec7d6598868d9a4a989799d7a (diff)
Merge pull request #494 from shravyaramesh/tma930-keyboard-disable-scroll
[TMA-930] Keyboard layout in Moments view should not be scrollable
-rw-r--r--src/screens/profile/IndividualMoment.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screens/profile/IndividualMoment.tsx b/src/screens/profile/IndividualMoment.tsx
index 7d231312..c65d41e7 100644
--- a/src/screens/profile/IndividualMoment.tsx
+++ b/src/screens/profile/IndividualMoment.tsx
@@ -92,6 +92,7 @@ const IndividualMoment: React.FC<IndividualMomentProps> = ({route}) => {
screenType={screenType}
/>
)}
+ scrollEnabled={!keyboardVisible}
keyExtractor={(item, _) => item.moment_id}
showsVerticalScrollIndicator={false}
initialScrollIndex={initialIndex}