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

Toolbar buttons loose focus when calling quill.updateContents(delta) #734

Closed
benbro opened this issue Jun 7, 2016 · 1 comment
Closed

Comments

@benbro
Copy link
Contributor

benbro commented Jun 7, 2016

An open dropdown list like fonts or colors loose focus when calling quill.updateContents(delta).
This is a problem when collaborating when another user and applying the OT changes.

Steps for Reproduction

  1. Visit http://beta.quilljs.com/
  2. Click on the font button to open the font dropdown.
  3. Call quill.updateContents(delta) in the console with some delta:
quill.updateContents({
  ops: [
    { retain: 6 },
    { delete: 5 },
    { insert: 'Quill' }
  ]
});

Expected behavior:
The font dropdown should stay opened.

Actual behavior:
The font dropdown is closed.

Platforms:
Firefox 46 on Windows 7

Version:
1.0-beta.4

@jhchen
Copy link
Member

jhchen commented Jun 20, 2016

Sorry that commit has a typo #743 was fixed not this issue

@jhchen jhchen reopened this Jun 20, 2016
@jhchen jhchen closed this as completed in c635440 Jul 7, 2016
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