Frontmatter
| id | 9386 |
| title | E2E: Add min velocity threshold to Grid Predictive Scrolling |
| state | Closed |
| labels | aiperformancegrid |
| assignees | tobiu |
| createdAt | Mar 7, 2026, 11:44 PM |
| updatedAt | Mar 7, 2026, 11:47 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9386 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 9380 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 7, 2026, 11:47 PM |
E2E: Add min velocity threshold to Grid Predictive Scrolling
tobiu added parent issue #9380 on Mar 7, 2026, 11:44 PM
tobiu assigned to @tobiu on Mar 7, 2026, 11:46 PM

tobiu
Mar 7, 2026, 11:46 PM
Input from Gemini 3.1 Pro:
✦ I have implemented the minimum velocity threshold in
ScrollManager.The kinematic prediction math now only engages if
Math.abs(scrollVelocity) > 0.5. For low-velocity scrolling (like a typicalmousewheeltick), the Grid simply renders the exact, real-timescrollTopof the native container. This completely eliminates the decoupling effect and fixes the "jumpy/flickering" visual regression for precise scroll movements.Closing this ticket as complete. We can now proceed with extracting E2E benchmark logs or tackling the directional buffer expansion for massive thumb jumps.
tobiu closed this issue on Mar 7, 2026, 11:47 PM
This ticket tracks the implementation of a minimum velocity threshold for Predictive Delta Injection in
ScrollManager.Goal: Fix the "jumpy" and "flickering" rendering behavior during low-velocity scrolling (e.g., mousewheel).
Tasks:
syncGridBodyto require a minimumscrollVelocity(e.g., > 0.5 px/ms) before applying the kinematic prediction math.scrollTop.This ensures that prediction only engages during deliberate, fast thumb drags where the worker pipeline lag actually causes a visible gap, preserving 1:1 pixel accuracy for precise scrolling.
This is a sub-task of the Epic to resolve Grid Scroll Thrashing.