From ed16a7a43bdd40b8bf6ad8629e9cc73f33780735 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 2 Mar 2024 01:27:32 +0000 Subject: [PATCH] Fix Profile tab switch jumps on Chrome --- src/view/screens/Profile.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index 64e067593b..b30b4491bd 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,