diff options
author | dan <dan.abramov@gmail.com> | 2024-03-02 01:34:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-02 01:34:43 +0000 |
commit | f2249614bee2dcc82ec2b4ecdd853dc3444e626c (patch) | |
tree | 7761e103dc6d710582bb5a8e815abd36059de2bb /src | |
parent | b07846f2fa8e2830e7871c72afd5a81d2eecfe99 (diff) | |
download | voidsky-f2249614bee2dcc82ec2b4ecdd853dc3444e626c.tar.zst |
Fix Profile tab switch jumps on Chrome (#3076)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/screens/Profile.tsx | 2 |
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, |