Files
Lahfir fa8be4f592 fix(scroll): make programmatic and internal scrolls instant and frame-aware (#2831)
* fix(scroll): make programmatic and internal scrolls instant and frame-aware

Pass behavior: 'instant' from scroll, scrollintoview, and listbox option selection unless --smooth-scrolling is enabled, so attached browsers without the launch switch settle immediately too.

Unify selector and bare scroll on a single :root target path so scroll without --selector respects the active frame selected by frame, share scroll_delta across CDP and BiDi, and replace scrollIntoViewIfNeeded in CLICK_POINT_JS with scrollable-ancestor clipping checks so internal click scrolling always uses behavior: 'instant'.

* fix(element): include overflow:hidden scroll containers in click clipping check

* fix(element): honor CSS containing blocks in click clipping check and apply smooth-scrolling in place on attach

* fix(element): check outer scroll containers clipping ancestor iframes

* fix(click): delegate container visibility to scrollIntoView nearest
2026-12-02 18:07:34 -08:00
..
2026-02-20 08:49:53 -06:00