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

Don't autofocus on load #197

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 11, 2018

  1. Don't autofocus on load

    If the editor has content upon initial load it will gain focus, which can cause unexpected page scrolling.
    This is because of using `.pasteHTML()` (which is just a wrapper around `.clipboard.dangerouslyPasteHTML()`) - doing it this way fixes the issue with autofocus.
    (Incidentally, credit for the fix goes to @jetzhou - see zenoamaro/react-quill#321)
    bertie-wheen authored Apr 11, 2018
    Configuration menu
    Copy the full SHA
    fc770ec View commit details
    Browse the repository at this point in the history