about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-03-02 01:34:43 +0000
committerGitHub <noreply@github.com>2024-03-02 01:34:43 +0000
commitf2249614bee2dcc82ec2b4ecdd853dc3444e626c (patch)
tree7761e103dc6d710582bb5a8e815abd36059de2bb /src
parentb07846f2fa8e2830e7871c72afd5a81d2eecfe99 (diff)
downloadvoidsky-f2249614bee2dcc82ec2b4ecdd853dc3444e626c.tar.zst
Fix Profile tab switch jumps on Chrome (#3076)
Diffstat (limited to 'src')
-rw-r--r--src/view/screens/Profile.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx
index 64e067593..b30b4491b 100644
--- a/src/view/screens/Profile.tsx
+++ b/src/view/screens/Profile.tsx
@@ -491,6 +491,8 @@ const styles = StyleSheet.create({
   container: {
     flexDirection: 'column',
     height: '100%',
+    // @ts-ignore Web-only.
+    overflowAnchor: 'none', // Fixes jumps when switching tabs while scrolled down.
   },
   loading: {
     paddingVertical: 10,