← Back to release summary

Scroll Anchoring Priority Candidate Fix

Category
Miscellaneous
Type
No developer-visible change
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

Currently, scroll anchoring algorithm selects priority candidates when they are available as anchor targets. The priority candidates are currently a focused editable element and find-in-page highlights. This can cause suboptimal user experience if there is a large focused contenteditable element that has content changed offscreen (the cursor ends up being shifted as a consequence). A simple fix is to change the algorithm: instead of selecting the priority candidate as the anchor, chose the candidate as the scope/root of the regular anchor selection algorithm which will select the deepest onscreen element as the anchor. This feature tracks this change.

Standards & signals

View on chromestatus.com