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

chore: update @react-native-picker/picker #834

Merged
merged 7 commits into from
Mar 20, 2024

Conversation

hgray-instawork
Copy link
Collaborator

@hgray-instawork hgray-instawork commented Mar 1, 2024

Updating @react-native-picker/picker from 2.4.0 to 2.6.1

On Android, starting after v2.5.1, an issue occurs where a zero font size is used for the picker. See notes: react-native-picker/picker#536

Upgrading Expo seems to resolve the issue. However, we decided that it would be better to include a fix in our wrapper.

  • A default fontSize has been added to <Picker.item>
  • iOS is not affected by this issue and has not been changed

Illustration of bug: https://github.com/Instawork/hyperview/assets/127122858/71029ef9-c335-4ef1-bdcb-ef3272dac9b5

v2.4.0 v2.6.2 (w/ 16 default)
v-2-4-0 v-2-6-0-size16

Asana: https://app.asana.com/0/0/1206718044236459/f

@hgray-instawork hgray-instawork merged commit 24efb43 into master Mar 20, 2024
5 checks passed
@hgray-instawork hgray-instawork deleted the hardin/update-picker branch March 20, 2024 21:43
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.

None yet

2 participants