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

TypeError: line is null on Firefox #891

Closed
benbro opened this issue Aug 26, 2016 · 0 comments
Closed

TypeError: line is null on Firefox #891

benbro opened this issue Aug 26, 2016 · 0 comments

Comments

@benbro
Copy link
Contributor

benbro commented Aug 26, 2016

Error on Firefox when there is a selecting all the text and trying to format it.
Only happens when there is a scrollbar in the editor.

TypeError: line is null
line 5848
this.root.scrollTop = line.domNode.offsetTop + line.domNode.offsetHeight - this.root.offsetHeight;  

On http://quilljs.com I'm getting a different error. Probably because the file is minified or served by cloudflare.

TypeError: o is null
cloudfl... > eval (line 2, col 26609)

Steps for Reproduction

  1. Visit quilljs.com
  2. Select all text in the editor (ctrl+a)
  3. Click on the Bold button

Actual behavior: [actual]
javascript error

Platforms:
Firefox 48.0.2 on Windows 7.
(no issue with Chrome)

Version: [version]
1.0.0-rc2

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