You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Pickerstyle={{fontSize: 23,width: 100,alignSelf: 'center',marginHorizontal: -5}}selectedValue={item.weightLb.toString()}onValueChange={(itemValue,itemIndex)=>updateSetWeight(item.id,itemValue,itemValue)//FIXME: make lb or kg}>{[...Array(1000).keys()].map(number=>{return<Picker.Itemkey={number}label={number.toString()}value={number.toString()}/>})}</Picker>
Picker becomes slow when the number of Picker.Items are more than 500.
Is there a way to make it faster? Maybe some optimization technique?
Please help
The text was updated successfully, but these errors were encountered:
"@react-native-picker/picker": "^2.4.8",
"react-native": "0.68.6",
I use it like this:
Picker becomes slow when the number of Picker.Items are more than 500.
Is there a way to make it faster? Maybe some optimization technique?
Please help
The text was updated successfully, but these errors were encountered: