Skip to content

Safari: Element.scrollIntoView overscrolls chat section in Responsive-Design #525

Open

Description

@issackjohn

Affected: Safari. Works as expected in Chrome/Firefox.

Repro:

Suite: Responsive-Design → step: “ScrollToChatAndSendMessages”
In the Responsive-Design workload, programmatically call scrollIntoView on the chat area/anchor (inside shadow DOM). Safari scrolls far past the target (often down to the “Subscribe” section at the bottom)

You can repro this by stepping with the "Step Test" button in the developer menu.

Expected: Minimal scroll that brings the chat anchor into view (matches Chrome/Firefox and Safari DevTools’ “Scroll into view”).
Actual: Overscroll

Impact: Safari end2end Tests time out waiting for a video-grid-content-visibility-complete event (emitted by the video-grid on content-visibility autostate change). The event never arrives.

Activity

  1. issackjohn commented on Aug 26, 2025

    @issackjohn
    ContributorAuthor

    Safari:

    Image

    Edge:

    Image
  2. rniwa commented on Sep 8, 2025

    @rniwa
    Member
  3. smfr commented on Sep 8, 2025

    @smfr

    Filed as https://bugs.webkit.org/show_bug.cgi?id=298554

    How can this content be accessed?

  4. issackjohn commented on Oct 7, 2025

    @issackjohn
    ContributorAuthor
  5. issackjohn commented on May 8, 2026

    @issackjohn
    ContributorAuthor

    @smfr I took a look at the bug linked above. Has this been fixed?

  6. smfr commented on May 12, 2026

    @smfr

    I believe so. Try testing in Safari Tech Preview 242 or later (though I believe it was fixed earlier).

  7. issackjohn commented on Jun 1, 2026

    @issackjohn
    ContributorAuthor

    Nice. Thanks! Could not repro on Safari Tech Preview 244.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions