Skip to content

Fix Scroll Thrashing during Store Streaming #9186

@tobiu

Description

@tobiu

Streaming data via StreamProxy currently causes the Grid to reset its scroll position to the top on every chunk load.
This happens because Store.onCollectionMutate fires load events without the postChunkLoad flag, causing GridBody to treat each chunk as a new dataset.

Fix:
Update src/data/Store.mjs to include postChunkLoad: !!me.isStreaming in the load event payload triggered by onCollectionMutate.
This allows the Grid to maintain the user's scroll position while data streams in.

Metadata

Metadata

Assignees

Labels

aibugSomething isn't workingdeveloper-experienceThis improves the ease and fun of developing apps with neo.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions