Yuyao Huang 5294446407 fix: use requestAnimationFrame to defer in-focus and handler binding
requestAnimationFrame waits until after the browser has rendered the
current frame, which includes processing the async scroll event queued
by scrollToTask. This ensures in-focus is set after the scroll event
fires, not overwritten by it.
2026-05-09 16:04:08 +08:00
..
2026-05-09 13:47:30 +08:00