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

Setting focus() should scroll to cursor position #669

Closed
LucVanPelt opened this issue May 15, 2016 · 0 comments
Closed

Setting focus() should scroll to cursor position #669

LucVanPelt opened this issue May 15, 2016 · 0 comments

Comments

@LucVanPelt
Copy link

Clicking on a toolbar select list scrolls the editor to the top.

Steps for Reproduction

  1. Visit quilljs.com
  2. add some lines to the end of the document
  3. click in the toolbar on the line format select

Expected behavior: the line should be formatted and into view

Actual behavior: the editor scrolls to the top

Platforms: Chrome 50 on Mac 10.10

Version: beta 0.1

Solution: add "this.scrollIntoView()" after line 57 in core/selection.js

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

2 participants