Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hypest opened this issue Feb 7, 2020 · 1 comment
Closed

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

hypest opened this issue Feb 7, 2020 · 1 comment

Comments

@hypest
Copy link
Contributor

hypest commented Feb 7, 2020

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.
@hypest
Copy link
Contributor Author

hypest commented Feb 20, 2020

Fixed with #1874

@hypest hypest closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant