Skip to content

Scrolling jump to top when typing a new paragraph block #1870

@hypest

Description

@hypest

Describe the bug
When hitting Enter to create a new paragraph block, the whole content seems to jump to the top and scroll back down to the new block that got created.

See this GIF (slowed down to make it more noticable, notice the momentary jump to the top where an image block is there):

screencapture-1581083047041 2020-02-07 15_58_53

Expected behavior
The content should not jump to the top it and scroll back down again.

To Reproduce
Steps to reproduce the behavior:

  1. Open the demo app and add an image block at the top (to make the effect more noticeable)
  2. Start adding paragraph bloc. Add more than a few so the view will need to scroll to show the whole content
  3. Type "Enter" on the last paragraph block to create a new one
  4. Notice that the whole view jumps to the top for a split-second and scrolls back down to the end on the newly created block

Smartphone (please complete the following information):

  • Device: Pixel 2 XL
  • OS: Android 10
  • App Version Happening at least on the 1.22 PR, this commit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions