-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Warning on pressing ENTER fast #6021
Comments
When trying to reproduce, I sometimes don't get the warning right away, but it still appear after holding ENTER for a while, moving the caret to another paragraph, then holding ENTER again. |
I was unable to get the warning while running commit 80185d7 (April 7, 2018). Comparing to the code you shared, it now seems to create
But that is only when you hold the enter key. It took holding it for 5+ seconds to really mess up with several br tags inside a text block. Rapidly pressing the enter key as fast as I could only resulted in more, regular text blocks being created, as expected. My question is if the user is holding down the Enter key, what output are they expecting? I'm struggling to think of a scenario where they wouldn't just delete that. |
Related: #5872 |
Issue Overview
Discovered while testing #5769 in Chrome.
When I press enter several times quickly, I get the following warning:
The text was updated successfully, but these errors were encountered: