From af250960cf4c8e19c8bcc61c0e0f85e73dd2f7fc Mon Sep 17 00:00:00 2001 From: Livio Oswald <125505497+Lcoding15@users.noreply.github.com> Date: Tue, 27 Oct 2026 13:31:32 +0100 Subject: [PATCH] fix(ui): clear stale search point on page jump --- crates/ui-egui/src/canvas.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ui-egui/src/canvas.rs b/crates/ui-egui/src/canvas.rs index abea0ca018..fe719051e9 100644 --- a/crates/ui-egui/src/canvas.rs +++ b/crates/ui-egui/src/canvas.rs @@ -1395,6 +1395,7 @@ impl DocView { // Partial wheel motion belongs to the old place, and so does a find step's match. self.reset_coarse_state(); self.find_hold = None; + self.goto_point = None; self.goto = Some((page, 0.0)); self.current = page; }