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

Clicking on the placeholder text doesn't focus the editor on Firefox #656

Closed
benbro opened this issue May 10, 2016 · 1 comment
Closed

Comments

@benbro
Copy link
Contributor

benbro commented May 10, 2016

[Describe the issue]
When clicking on the placeholder text "compose an epic..." the editor is not focused.
Only when clicking on the blank area it is focused.

Steps for Reproduction

  1. Visit http://beta.quilljs.com/docs/formats/
  2. Click on the placeholder text

Expected behavior: [expected]
The editor should focus

Actual behavior: [actual]
The editor is not focused

Platforms: [ex. Chrome 48 on Mac 10.11]
Firefox 46.0.1 on Windows 7

Version: [version]
1.0-Beta.1

@Joeao
Copy link
Contributor

Joeao commented May 10, 2016

Seems to be a bug with Firefox itself? Getting the same issue on Quill 0.20.1 and codepen

It can be fixed by setting

.ql-editor.ql-empty::before {
    pointer-events: none;
}

Which seems to fit into the same browser compatibility as Quill 1.0, but there may be a better solution.

Joeao added a commit to Joeao/quill that referenced this issue May 10, 2016
@Joeao Joeao mentioned this issue May 10, 2016
@jhchen jhchen closed this as completed in cfe5471 May 13, 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

3 participants