mirror of
https://github.com/vercel-labs/agent-browser.git
synced 2026-12-03 18:17:54 +08:00
* 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