Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

fix: fix pager style #1252

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

olvipi
Copy link

@olvipi olvipi commented Aug 23, 2021

This PR corrects the style of the "TabView" root component when used with the "react-native-web" package in web applications.

code example
<TabView
style={{ height: 250 }}
{...tabViewProps}
/>

before
image

after
image
image
image

@github-actions
Copy link

Hey olvipi! Thanks for opening your first pull request in this repo. If you haven't already, make sure to read our contribution guidelines.

Comment on lines -144 to +145
flex: 1,
flexGrow: 1,
flexShrink: 1,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If your PR targets only web you should check if we are currently on web. Also did you test this on iOS and Android?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants