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

[Request Feature] Support to infinite scroll two direction? #2505

Open
thienvu23 opened this issue Jul 5, 2024 · 6 comments
Open

[Request Feature] Support to infinite scroll two direction? #2505

thienvu23 opened this issue Jul 5, 2024 · 6 comments

Comments

@thienvu23
Copy link

No description provided.

@thienvu23 thienvu23 changed the title [Request Feature] Support onStartReached to infinite scroll down? [Request Feature] Support to infinite scroll two direction? Jul 9, 2024
@liylmn
Copy link

liylmn commented Jul 10, 2024

@thienvu23 I also have this requirement. Do you have any other implementation plans

@thienvu23
Copy link
Author

react-native-gifted-chat+2.4.0.patch
@liylmn U can try this patch file. I have not completed the test.

But currenly. I have an issue when I call the onLoadLater function all message is remounted. But the onLoadEarlier works fine. I still find the reason.

@liylmn
Copy link

liylmn commented Jul 10, 2024

@thienvu23 thanks,I want to slide up to half screen and receive new messages to prevent page shaking, but I don't have much thought

@thienvu23
Copy link
Author

thienvu23 commented Jul 10, 2024

@liylmn u can use maintainVisibleContentPosition to prevent page shaking, but this not working on Android

@thienvu23
Copy link
Author

@liylmn
Copy link

liylmn commented Jul 10, 2024

@thienvu23 Thank you very much for your answer. I will give it a try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants