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

onScrollEnd is not working properly in GridView #1757

Open
mehsaandev opened this issue Dec 9, 2024 · 0 comments
Open

onScrollEnd is not working properly in GridView #1757

mehsaandev opened this issue Dec 9, 2024 · 0 comments
Assignees

Comments

@mehsaandev
Copy link
Contributor

I've added onScrollEnd event to achieve infinite scroll on GridView but onScrollEnd triggers only once when screens loads if I have value of horizontalTileCount to more than 1. If I make horizontalTileCount to 1 then onScrollEnd triggers each time I scroll to almost at 3rd last item.

Expected behavior should be this:

  • Regardless of horizontalTileCount value, onScrollEnd should trigger at the very end of scroll each time I get to scroll end.
  • onScrollEnd shouldn't trigger before the very end, currently in case of using horizontalTileCount: 1, it triggers the scrollEnd event slightly before the end.

Here's the sample screen for this issue:
https://studio.ensembleui.com/app/IbdXZ7hbDR5Ikr6jz44o/screen/F2X3AuYqjx5IXocHnbX4

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