Skip to content

[6.x] Prevent rare case of the container scrolling when focusing on the con…#14854

Merged
jaygeorge merged 1 commit into
6.xfrom
prevent-scroll-on-focus
Jun 19, 2026
Merged

[6.x] Prevent rare case of the container scrolling when focusing on the con…#14854
jaygeorge merged 1 commit into
6.xfrom
prevent-scroll-on-focus

Conversation

@jaygeorge

@jaygeorge jaygeorge commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Description of the Problem

We try to focus on an input or the content card when the content loads but on rare occasions this can cause a small scroll movement. This is outlined in great detail here #14838

Scroll movement is never desirable, and this small PR prevents it.

What this PR Does

How to Reproduce

  1. See Content scrolls down by container's padding on load for pages without an autofocused input #14838

@jaygeorge jaygeorge enabled auto-merge (squash) June 19, 2026 22:01
@jaygeorge jaygeorge merged commit 56d99c1 into 6.x Jun 19, 2026
23 checks passed
@jasonvarga jasonvarga deleted the prevent-scroll-on-focus branch June 19, 2026 23:12
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.

Content scrolls down by container's padding on load for pages without an autofocused input

1 participant