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

On Safari 'Enter' button doesn't add new lines #1165

Open
3 tasks done
pavel-nitka opened this issue Dec 22, 2022 · 3 comments
Open
3 tasks done

On Safari 'Enter' button doesn't add new lines #1165

pavel-nitka opened this issue Dec 22, 2022 · 3 comments

Comments

@pavel-nitka
Copy link

pavel-nitka commented Dec 22, 2022

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

💥 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

  • What is the expected behavior?
    Empty lines added to a text
  • What is happening instead?
    Nothing happens, cursor stays at the same position
  • What error message are you getting?
    No errors

I think issue related with this part of code
image
when I remove underlined string error gone

@yairEO
Copy link
Owner

yairEO commented Dec 23, 2022

I don't really support Safari, which is a terrible browser.
I also don't own a Mac to test it on Safari... why would
anyone use that browser is beyond me :)

@ConnectGrid
Copy link

I don't really support Safari, which is a terrible browser.
I also don't own a Mac to test it on Safari... why would
anyone use that browser is beyond me :)

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.

@yairEO
Copy link
Owner

yairEO commented Jun 27, 2023

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

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

3 participants