-
-
Notifications
You must be signed in to change notification settings - Fork 202
Fix Scroll Thrashing during Store Streaming #9186
Copy link
Copy link
Closed
Labels
aibugSomething isn't workingSomething isn't workingdeveloper-experienceThis improves the ease and fun of developing apps with neo.This improves the ease and fun of developing apps with neo.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aibugSomething isn't workingSomething isn't workingdeveloper-experienceThis improves the ease and fun of developing apps with neo.This improves the ease and fun of developing apps with neo.