Skip to content

Selecting an image results in editor scrolling unexpectedly #3245

@florian-msft

Description

@florian-msft

Describe the bug
When clicking on images to select them, the editor contents scroll unexpectedly. This results in jumpy and confusing behavior as the image is no longer visible in the viewport.

To Reproduce
Steps to reproduce the behavior:

  1. Open demo page
  2. Insert multiple images
  3. Click on an image not completely in the viewport

Expected behavior
The image is selected and scroll position kept (or image is scrolled into view)

Actual behavior
The image is selected but page jumps and image is scrolled out of view

Screenshots

20251231-0940-02.0247288.mp4

Device Information

  • OS: Windows 11
  • Browser: Microsoft Edge
  • Version: 143.0.3650.96

Additional context
In my testing it always scrolls to the bottom but team members have also noticed it jump elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions