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

Firefox enter before certain characters doesn't move cursor to the new line #57

Closed
craigengland opened this issue Apr 23, 2021 · 1 comment

Comments

@craigengland
Copy link

Screen.Recording.2021-04-23.at.13.29.32.mov

When typing the first line and I press "Enter" the cursor and the final ' follow me down to the next line.

In my second example when pressing "Enter" before the ?, a new line is created however the cursor doesn't follow me in this scenario.

I have tested in Chrome and Safari and all works well on those browsers so I am guessing it has something to do with the firefoxNewLineFix function that intercepts the "Enter" key and adds a new line.

@antonmedv
Copy link
Owner

Yes, firefox is really buggy with contenteditable. A few bugs 4-5 y/o in firefox bug queue.
Please, take a look at one of PRs. I think we have a fix there, but I still don’t have time to take a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants