Skip to content

onScrollEnd is not working properly in GridView #1757

@mehsaandev

Description

@mehsaandev

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions