[PR #13881] fix: prevent viewport/selection jumping when moving with deletion marked in session_list #14853

Closed
opened 2026-02-16 18:19:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13881

State: closed
Merged: No


What does this PR do?

Add ignoreNextEffect flag to prevent the createEffect from overriding manual navigation when onMove callback triggers prop changes. This prevents unexpected viewport/selection jumps from ocurring.

Fixes anomalyco#13880

How did you verify your code works?

Manual A/B testing, bun typecheck, bun test.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13881 **State:** closed **Merged:** No --- ### What does this PR do? Add ignoreNextEffect flag to prevent the createEffect from overriding manual navigation when onMove callback triggers prop changes. This prevents unexpected viewport/selection jumps from ocurring. Fixes anomalyco#13880 ### How did you verify your code works? Manual A/B testing, `bun typecheck`, `bun test`.
yindo added the pull-request label 2026-02-16 18:19:36 -05:00
yindo closed this issue 2026-02-16 18:19:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14853