Skip to content

Inconsistent scrolling when using setValue with long html #486

@pkaramon

Description

@pkaramon

Describe the bug
On iOS, when setValue is used with long HTML content, the editor does not scroll to the bottom. On Android, however, the editor scrolls to the bottom automatically.

To Reproduce
Steps to reproduce the behavior:

  1. Launch example app on iOS and Android.
  2. Set value to
 <html> 
          <p>Line one</p>
          <p>Line two</p>
          <p>Line three</p>
          <p>Line four</p>
          <p>Line five</p>
          <p>Line six</p>
          <p>Line seven</p>
          <p>Line eight</p>
          <p>Line nine</p>
          <p>Line ten</p>
 </html>
  1. Observe the difference between two devices.

Expected behavior
The scrolling should be unified across iOS and Android

Screenshots

Screen.Recording.2026-03-13.at.15.45.17.mov

Device (please complete the following information):

  • Device: iPhone 17
  • OS: iOS26.2

  • Device: Pixel 9
  • OS: Android 16
  • Version API 36 "Baklava(Android 16)

Additional context
After fixing update scrolling_set_value.yaml test by making it run the same commands for both Android and iOS.

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