Skip to content

Fix(wheelpicker): prevent android null isCyclic#140

Open
alexisrougnant wants to merge 3 commits into
Cero-Studio:masterfrom
smtperformances:fix-prevent-android-null-iscyclic
Open

Fix(wheelpicker): prevent android null isCyclic#140
alexisrougnant wants to merge 3 commits into
Cero-Studio:masterfrom
smtperformances:fix-prevent-android-null-iscyclic

Conversation

@alexisrougnant
Copy link
Copy Markdown

@alexisrougnant alexisrougnant commented Nov 6, 2020

Fix

On Android when isCyclic prop si not provided, if data.length > 2, the app crashes with a null exception on native side.

Screenshot 2020-11-06 at 10 54 23

Summary

Add a default value false to isCyclic for Android. WheelPicker.android.js is also converted to .tsx

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