-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Inverted Flatlist(VirtualizedList) with specific conditions in Web has rendering problem. #28556
Comments
Hi @shine784 thanks for the issue. Unfortunately this repo does not maintain the web implementation of React Native. Could you make an issue with react-native-web? |
sure, thank you |
This isn't a problem with the web implementation per se, because it's using the exact same code as the RN implementation. |
I am seeing the same issue using an inverted SectionList w/ react native web. Once I scroll up to around 70 rows of data it malfunctions and renders the incorrect range (starts again from beginning). In my case it doesn't matter if the renderItem has a height or is flexed, same issue occurs. As a temporary workaround I am doing this:
|
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Flatlist(VirtualizedList) has problem specific conditions in Web
This list rendered the wrong range of index items, Sometimes It is rendered again constantly
React Native version:
"0.62.1",
Steps To Reproduce
Code Line makes the wrong calculations
react-native\Libraries\Lists\VirtualizeUtils.js
leadFactor(0.5) is not suitable value with some conditions
this makes the overscanBegin value bigger than 0
so It cause the wrong retern with wrong first, last
Expected Results
normal operation
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/@kunhee_lee/kunhee_lee_test
The text was updated successfully, but these errors were encountered: