Skip to content

Bug: Autoscroll on text based block does not work when nested inside InnerBlock (e.g. Group) #2157

@jbinda

Description

@jbinda

Describe the bug
Autoscroll does not scroll to current caret position when text based blocks (e.g paragraph, heading) is inside InnerBlock (e.g. Group block) . See below step to reproduce and GIFs for more details.

Unexpected behaviour:

Steps to reproduce the behaviour:

  1. Add Group block
  2. Add Paragraph Block inside Group block
  3. Start adding new lines
  4. When you reach bottom of the screen noticed that the UI won't scroll to current caret position

Expected behaviour:

For InnerBlock it should work as for RootList level. See by reproduce below steps:

Steps to reproduce the behaviour:

  1. Add Paragraph Block at RootList level
  2. Start adding new lines
  3. When you reach bottom of the screen and put new line noticed that the UI will scroll to current caret position

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions