Skip to content

Conversation

kas
Copy link

@kas kas commented May 28, 2019

This fixes an issue on iOS where the container holding the dots takes up the entire width to the left and right of the dots. Before this fix, the container would block any elements that are rendered to the left and right of the dots. After this fix, the container shrinks down to only occupy the space that the dots occupy.

Here's some images showing the issue using the React Native Inspector:

Before

image

After

image

@kas kas changed the title Fix PagerDotIndicator Container Taking Up Entire Width of Screen on iOS Fix PagerDotIndicator Container Taking Up Entire Width of View on iOS May 28, 2019
@kas
Copy link
Author

kas commented May 28, 2019

Realized we need to keep position: 'absolute' or it interrupts how far down other elements can render.

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

Successfully merging this pull request may close these issues.

1 participant