-
Notifications
You must be signed in to change notification settings - Fork 436
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
On Safari 'Enter' button doesn't add new lines #1165
Comments
I don't really support Safari, which is a terrible browser. |
I encourage you to let that bias go. It's just not true and it may be clouding your view on what is an excellent and industry-leading browser. The WebKit project and the Blink projects keep close tabs on each other. Remember that Blink (Chromium) was spawned from WebKit, and there's still a lot of WebKit roots in Blink. We all disliked IE back in the day because Microsoft was trying to plow their own path, not following "standards" established by other browsers. But Safari is not anywhere near as foreign to web standards as that. Apple directly participates in the community that helps to establish the standards. Don't take my word for it. Safari is recognized as a modern and standards-compliant browser by Mozilla themselves. |
OK I hear you, and I will try to understand the root cause of this issue and solve it, without having access to a Mac + Safari. I can only rely on BrowserStack which I haven't tried working with since 2013 |
Prerequisites
💥 Demo Page
https://jsbin.com/rugeqoleri/1/edit?html,js,output
Explanation
Open in Safari
1.Type any text
2.Press Enter key - cursor moves to the next line
3.Press Enter key one more time or even more times - nothing happens
Empty lines added to a text
Nothing happens, cursor stays at the same position
No errors
I think issue related with this part of code
when I remove underlined string error gone
The text was updated successfully, but these errors were encountered: