Skip to content
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

[Tracking] Pagination issues #12054

Closed
bfitzexpensify opened this issue Oct 21, 2022 · 61 comments
Closed

[Tracking] Pagination issues #12054

bfitzexpensify opened this issue Oct 21, 2022 · 61 comments
Assignees
Labels
Daily KSv2 Improvement Item broken or needs improvement. NewFeature Something to build that is a new item.

Comments

@bfitzexpensify
Copy link
Contributor

bfitzexpensify commented Oct 21, 2022

HOLD on #16660

This is a tracking issue for a number of different pagination issues:

@bfitzexpensify
Copy link
Contributor Author

Update from Lucio in #7860 (comment):

Update: right now I'm testing if the problems and solutions stated in #7860 (comment) still apply to the #7860 (comment).

@bfitzexpensify
Copy link
Contributor Author

Latest update from Lucio in #7860 (comment):

Update: I am still applying the react-native's VirtualizedList new changes to react-native-web, there are many files to copy and paths to resolve.

@roryabraham did Lucio's issue here in that issue get resolved?

@melvin-bot melvin-bot bot removed the Overdue label Nov 8, 2022
@roryabraham
Copy link
Contributor

Hey @LucioChavezFuentes, I just went through and reviewed all your pull requests (sorry for the delay, btw). Overall they look great, but 3/4 of them should be made against the upstream React Native instead of react-native-web. Can you please:

Thanks, and let me know if there's anything else I can do to support you? Let's keep pushing to get this done ASAP 🚀

@roryabraham
Copy link
Contributor

@LucioChavezFuentes please link the PRs you open against the React Native upstream repo here 🙇🏼

@melvin-bot melvin-bot bot added the Overdue label Nov 24, 2022
@bfitzexpensify
Copy link
Contributor Author

We're still moving here, melvin

@roryabraham
Copy link
Contributor

@LucioChavezFuentes just as a heads-up, we are working on upgrading our fork to RN 0.71, and I'll ping you in here as soon as that's done. Then we'd like duplicate pull requests for the upstream created against our fork (so that we can benefit from the changes without waiting for Meta's review + release process)

@melvin-bot melvin-bot bot added the Overdue label Dec 8, 2022
@roryabraham
Copy link
Contributor

Our React Native fork has been upgraded to 0.71.0, but we still need to publish it

@melvin-bot melvin-bot bot removed the Overdue label Dec 9, 2022
@melvin-bot melvin-bot bot added the Overdue label Dec 19, 2022
@roryabraham
Copy link
Contributor

@LucioChavezFuentes Can you provide an update to let us know the status of all the upstream PRs?

Also, I'm still not seeing any pull requests from you in either our React Native fork or our react-native-web fork

@melvin-bot melvin-bot bot removed the Overdue label Dec 19, 2022
@LucioChavezFuentes
Copy link
Contributor

LucioChavezFuentes commented Dec 19, 2022

Hi @roryabraham, I tried to explain where I am heading here.

Currently I am working on the root cause of the first problem of my proposal. The first problem exists because Web's onLayout changes layout values when the element measured have transformations while RN's onLayout ignores transformations and returns the same layout values as if the element has no transformation at all.
VirtualizedList is built based on Native's onLayout behavior so it breaks with the current Web's onLayout behavior.

I am looking for a solution to make Web’s onLayout behave the same as its native counterpart by reverting transformations measures while still using ‘getBoundClientRect’. Apparently, I can't use ‘offsetTop’ because react-native-web had used it previously and later replaced it to fix the following issues: 1037 1151.

Also, I'm still not seeing any pull requests from you in either our React Native fork or our react-native-web fork

My proposal is applicable only on Web. If there is urgency in fixing issue #7860 we can merge my solutions in react-native-web fork. But these solutions may not be merged in upstream repositories as they don’t fix the root issues.

I can not reproduce the problems stated in my proposal in Native platforms therefore I don't think uploading the solutions to react-native fork will help, except for Problem 2 but I still don't know its root issue and it has the lowest impact.

@roryabraham
Copy link
Contributor

@LucioChavezFuentes Thanks for the update here. Let us know if we can support you at all. We may be migrating away from VirtualizedList to a different list component in the future, but if you can address the root cause of the onLayout incompatibility between React Native and react-native-web we will still pay out for this. We'd rather only merge solutions in our fork of react-native-web that we expect with a reasonable degree of confidence will be accepted in the upstream.

@melvin-bot melvin-bot bot removed the Overdue label Jan 2, 2023
@roryabraham
Copy link
Contributor

Still on HOLD but we're upgrading RN to 0.72 presently and will follow-up with RNW 0.19 soon thereafter

@melvin-bot melvin-bot bot added the Overdue label Jul 31, 2023
@roryabraham
Copy link
Contributor

Still on HOLD

@roryabraham
Copy link
Contributor

PR to upgrade to RNW 0.19 is here

@melvin-bot melvin-bot bot removed the Overdue label Sep 1, 2023
@melvin-bot melvin-bot bot added the Overdue label Oct 3, 2023
@bfitzexpensify
Copy link
Contributor Author

Looks like we're still working through #24482

@melvin-bot melvin-bot bot removed the Overdue label Oct 3, 2023
@melvin-bot melvin-bot bot added the Overdue label Nov 6, 2023
@roryabraham
Copy link
Contributor

We are very close on the RNW upgrade. Being actively discussed in slack daily

@melvin-bot melvin-bot bot removed the Overdue label Nov 6, 2023
@LucioChavezFuentes
Copy link
Contributor

@roryabraham, I noticed that React-Native-Web has been updated and already deployed to production. I test the list and it works great. Can we say this issue has been concluded?

@roryabraham roryabraham changed the title [HOLD #16660][Tracking] Pagination issues [Tracking] Pagination issues Dec 9, 2023
@roryabraham
Copy link
Contributor

Wow, sorry for the long delay and thanks very much for all your patience here @LucioChavezFuentes. Looks like we can pay out the other half of the bounty here at long last 🎉

@roryabraham roryabraham added Daily KSv2 NewFeature Something to build that is a new item. and removed Monthly KSv2 labels Dec 9, 2023
Copy link

melvin-bot bot commented Dec 9, 2023

Current assignee @bfitzexpensify is eligible for the NewFeature assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Dec 9, 2023
@roryabraham
Copy link
Contributor

Marking this as a new feature just for accounting reasons

@roryabraham roryabraham added Daily KSv2 and removed Weekly KSv2 labels Dec 9, 2023
@roryabraham
Copy link
Contributor

@bfitzexpensify let's pay this out ASAP

@bfitzexpensify
Copy link
Contributor Author

Nice one! Remainder of the contract has been paid out.

@LucioChavezFuentes
Copy link
Contributor

Thank you so much!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Improvement Item broken or needs improvement. NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests

6 participants