about summary refs log tree commit diff
path: root/src/components/dialogs
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-04-19 23:26:04 +0100
committerGitHub <noreply@github.com>2024-04-19 23:26:04 +0100
commit22e86c99033a55881bf02a3129b653a13bac619e (patch)
treedae74bf3ebefb53f468c29d3ae5ac918566b3963 /src/components/dialogs
parentedbb18afa44bcfee4560ac19880a0c32563b6a0e (diff)
downloadvoidsky-22e86c99033a55881bf02a3129b653a13bac619e.tar.zst
fix onEndReached issue by forcing flatlist to scroll (#3623)
Diffstat (limited to 'src/components/dialogs')
-rw-r--r--src/components/dialogs/GifSelect.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/dialogs/GifSelect.tsx b/src/components/dialogs/GifSelect.tsx
index c8897da36..baff31168 100644
--- a/src/components/dialogs/GifSelect.tsx
+++ b/src/components/dialogs/GifSelect.tsx
@@ -147,7 +147,11 @@ function GifList({
         <View
           style={[
             a.absolute,
-            {top: 0, left: 0, right: 0, height: '50%'},
+            a.inset_0,
+            {
+              borderBottomLeftRadius: 8,
+              borderBottomRightRadius: 8,
+            },
             t.atoms.bg,
           ]}
         />