Skip to content

Add commands.scrollIntoView(selector) convenience method#2425

Merged
soulgalore merged 1 commit intomainfrom
add-scroll-into-view
Apr 26, 2026
Merged

Add commands.scrollIntoView(selector) convenience method#2425
soulgalore merged 1 commit intomainfrom
add-scroll-into-view

Conversation

@soulgalore
Copy link
Copy Markdown
Member

Scrolls the page so the matched element is centered in the viewport. Uses block: "center" and behavior: "instant" to avoid smooth scroll interfering with timing.

Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
Change-Id: I7e6fefc2a8ee89b68b925bea578b09cc6571978f

Scrolls the page so the matched element is centered in the viewport. Uses block: "center" and behavior: "instant" to avoid smooth scroll interfering with timing.

Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
Change-Id: I7e6fefc2a8ee89b68b925bea578b09cc6571978f
@soulgalore soulgalore merged commit a57a4c0 into main Apr 26, 2026
16 checks passed
@soulgalore soulgalore deleted the add-scroll-into-view branch April 26, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant