PedroBern / react-native-collapsible-tab-view

A cross-platform Collapsible Tab View component for React Native
MIT License
897 stars 176 forks source link

When changing the iPad orientation to landscape, the react-native-collapsible-tab-view only takes up half of the screen, causing the UI to become distorted #445

Open josephgerald opened 1 month ago

josephgerald commented 1 month ago

I have used this react-native-collapsible-tab-view in a screen. As I change the orientation in iPad, the react-native-collapsible-tab-view component is shown in half screen and the entire design is distorted.

Simulator Screenshot - iPad Pro (12 9-inch) (6th generation) - 2024-09-30 at 15 18 18

PranshulDesuntech commented 1 week ago

Mentioning width: "100%" in the Tabs.Container solved that issue for me:

// your tabs..