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
{{ message }}
Repository navigation
Horizontal FlatList not working on Android 8 #20639
@benhurott This issue is not caused by FlatList.
It's caused by Array.from(Array(10).keys()) because JSC in android is very old.
For more details, #18426 (comment)
Activity
react-native-bot commentedon Aug 12, 2018
Can you reproduce the issue on the latest release, v0.56?
react-native-bot commentedon Aug 17, 2018
Can you run
react-native infoand edit your issue to include these results under the Environment section?If you believe this information is irrelevant to the reported issue, you may write
[skip envinfo]under Environment to let us know.sasurau4 commentedon Dec 11, 2018
@benhurott This issue is not caused by FlatList.
It's caused by
Array.from(Array(10).keys())because JSC in android is very old.For more details, #18426 (comment)
Your code work fine when I replaced
Array.from(Array(10).keys())tonew Array(10).fill(0).map((item, index) => index).https://snack.expo.io/@sasurau4/rn_20639
@hramos It's not component issue and duplicate of #18426, please close 🙏
partriv commentedon Jan 4, 2019
@sasurau4 wow thank you! I've been banging my head on this for a couple hours now, felt so dumb.
rickhanlonii commentedon Mar 19, 2019
Great find @sasurau4!