-
Notifications
You must be signed in to change notification settings - Fork 289
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
Relative relayouting #1192
base: main
Are you sure you want to change the base?
Relative relayouting #1192
Conversation
Tested, it's working fine. It's not choppy when scrolling up. |
@naqvitalha this PR looks to address a major issue for the library. Any chance of it getting reviewed? |
Hi folks, any chance of getting this reviewed and merged? Without this, FlashList is practically useless for chat UIs. |
Any chance we could get this reviewed and merged? This would really help improve our chat feature's UX and resolve scrolling issues. Thanks! |
@naqvitalha @davebcn87 this PR has been open for 7 months, and adheres to Shopify's documented contributing requirements. The author provided analysis of underlying issues in their fork readme and commented on several related open issues explaining this. They haven't received any responses that I can find. I know GitHub notifications can pile up, but providing some kind of response to community members that take the time to contribute would be appreciated by everyone, even if you don't merge. |
@irisjae Dont know if it helps, but the pull request is still labeled
|
CLA: Unexpected error has occurred, please re-run the workflow. We are sorry for the inconvenience, due to GitHub actions limitations this requires a manual intervention. There are few ways to do it:
If the issue persists, please contact the maintainers of this repo. |
I have signed the CLA! |
CLA: Unexpected error has occurred, please re-run the workflow. We are sorry for the inconvenience, due to GitHub actions limitations this requires a manual intervention. There are few ways to do it:
If the issue persists, please contact the maintainers of this repo. |
Hi @irisjae , can you please push an empty commit? It might fix the CLA bot issues 😆 |
The bot responding with two emoji reactions is hilarious. Looks like pushing an empty commit did not work. |
Also probably worthwhile: can everyone following this PR thumb up the original post? Reactions to OP are a common gauge for issue/PR importance to the community. |
It seems like this library is using yarn, in this PR npm was used. This is for sure a problem when it comes to merging this (deleted |
Since this is unlikely to ever be merged, I recommend everyone to follow the development of Legend List: https://github.com/LegendApp/legend-list. It is, of course, very early in development. but the author is an incredibly smart guy and seems to have a lot of motivation to solve every single problem with existing lists. |
Description
When the list enters a region with bad size estimates, scrolling becomes incredibly choppy, appearing to the user as if the list content is jumping around as the user scrolls.
Another issue is that the list is not able to maintain the visible content position when the provided data changes.
This patch implements a relative relayouting algorithm both in native and in RecyclerListView, and solves these problems. Here is a longer analysis of the problem and solution.
Hopefully, this mechanism can be part of FlashList.
Relevant issues:
Relevant PRs:
experimentalScrollPositionManagement
support to FlashList #824Reviewers’ hat-rack 🎩
Screenshots or videos (if needed)
Checklist