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
I am currently using FlashList to show a list of results retrieved from the device's native contact list. The idea is when you select a contact(s) there is a checkbox that appears to each contact indicating it's select. However after this implementation, I have noticed that FlashList component flickers with each selection. I quickly switched to the React Native FlatList with no problems, so it clearly has to do with FlashList specifically.
I have verified that I have defined a unique key using the keyExtractor prop, and I have set the extraData prop using the selected data. Based on what I read from the documentation, this should have solved my issue but it did not. Any help would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am currently using FlashList to show a list of results retrieved from the device's native contact list. The idea is when you select a contact(s) there is a checkbox that appears to each contact indicating it's select. However after this implementation, I have noticed that FlashList component flickers with each selection. I quickly switched to the React Native FlatList with no problems, so it clearly has to do with FlashList specifically.
I have verified that I have defined a unique key using the
keyExtractor
prop, and I have set theextraData
prop using the selected data. Based on what I read from the documentation, this should have solved my issue but it did not. Any help would be appreciated.My component view
Component Code
ContactListItem component
Beta Was this translation helpful? Give feedback.
All reactions