-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Starting a new paragraph in Safari sometimes doesn't insert text until after two keystrokes #1141
Comments
For what it's worth, I'm having trouble reproducing this. I'm using Safari 17.4 on macOS Sonoma 14.4. I went to https://trix-editor.org/. I placed the caret at the top of the document. I typed "x ". I typed "y ". I typed "z ". No issues. Am I missing something? |
@michaellenaghan Odd, when I reported this the other day I could very easily reproduce it with just those steps in both trix-editor.org and my own app, but now I'm having to fool around a bit longer before it triggers. In any case, I've now reproduced on two Macs, one with macOS 14.2.1 (Safari 17.2.1) and one with 14.3.1 (Safari 17.3.1), both with no Safari extensions installed. I don't have exact steps yet but I think it may have to do with Safari's spelling suggestions, the bug seems to trigger more often right after I auto-correct a word. I'll keep trying to find a consistent way to reproduce it though. I could also try to record my screen but I need to figure out how to include my keystrokes in the screencap... |
Here's a screencap with what I think is a sure way to reproduce it (I consistently reproduced it on both Macs this way). Better if you watch it with audio so you can hear the keystrokes. Ignore my previous comment about spelling corrections, I think that was probably a red herring. trixbug.mp4 |
I tried doing exactly what you're doing, many times, but couldn't reproduce your result. Obviously, I don't know why! (Well, other than the obvious: we're using different versions of Safari.) One thought: do you have any extensions running? Btw, to be clear, I'm not affiliated with the project; I was just looking through the issues to get a feel for where the project is at. |
No, zero Safari extensions in both machines that I tested on.
Yeah, maybe it's been fixed in Safari 17.4, I'll update my machine and test again.
I figured that a bit after replying to you 😅 , but still thanks for commenting as that ended up adding information to the ticket.
AFAICT trix-editor.org's demo is using 2.1.0, so the fix you mention should be included, right? Yet I can reproduce this bug there. |
Under some circumstances typing at the beginning of a new paragraph requires two keystrokes for text to start appearing.
Steps to Reproduce
Clearing the entire document and starting over removes the bug, but adding a single paragraph and then starting over from step 1 (at the top of document) brings the bug back. In other words, there must be text below the caret for the bug to trigger.
Details
The text was updated successfully, but these errors were encountered: