Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android version cut off when last element is selected #92

Closed
thomaschaaf opened this issue May 30, 2020 · 2 comments · Fixed by #114
Closed

Android version cut off when last element is selected #92

thomaschaaf opened this issue May 30, 2020 · 2 comments · Fixed by #114

Comments

@thomaschaaf
Copy link
Contributor

thomaschaaf commented May 30, 2020

Bug report

Summary

It seems like the right side is cut off on android since version 1.6.0 if the last item is selected.

Version 2.0.0

First Item:
Screenshot 2020-05-30 19 27 43

Last Item:
Screenshot 2020-05-30 19 06 08


Version 1.5.0

Screenshot 2020-05-30 19 21 25

Environment info

Library version: 1.60, 1.6.1 & 2.0.0

Steps to reproduce

Install in emulator or on device. Compare it with version 1.4.0 and there is it pretty.

Reproducible sample code

<View style={{margin: 10}}>
        <SegmentedControl
          style={{margin: 10}}
          selectedIndex={1}
          values={['Photos', 'Settings']}
        />
      </View>
@thomaschaaf thomaschaaf changed the title Android version cut off Android version cut off when last element is selected May 30, 2020
@AndriiBoiko
Copy link

The same issue ...
Screenshot 2020-06-01 at 17 11 41

@Naturalclar
Copy link
Member

Sorry about the issue!
I'll find time this weekend to try to fix it

thomaschaaf added a commit to thomaschaaf/segmented-control that referenced this issue Jul 26, 2020
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 a pull request may close this issue.

3 participants