From b2d1db9b6dc7f783806ebbed66412babd245c7ce Mon Sep 17 00:00:00 2001 From: Omer Gery <68545675+OmerGery@users.noreply.github.com> Date: Mon, 15 Jan 2024 18:21:08 +0200 Subject: [PATCH] tabs not scrollable --- examples/client/Locomotion/src/Components/TabSwitch/styled.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/client/Locomotion/src/Components/TabSwitch/styled.ts b/examples/client/Locomotion/src/Components/TabSwitch/styled.ts index 76bfa2bc5..2fa40b560 100644 --- a/examples/client/Locomotion/src/Components/TabSwitch/styled.ts +++ b/examples/client/Locomotion/src/Components/TabSwitch/styled.ts @@ -18,6 +18,7 @@ export const Container = styled.View` margin-bottom: 16px; padding-left: 8px; padding-right: 8px; + overflow: hidden; `; export const Tab = styled.TouchableOpacity` @@ -29,6 +30,7 @@ export const Tab = styled.TouchableOpacity` ${({ isSelected }: TabStyled) => isSelected && `border-bottom-width: 2px; border-bottom-color: ${SELECTED_COLOR};`} margin-left: 8px; margin-right: 8px; + overflow: hidden; `; export const TabInner = styled.View` display: flex;