You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the latest version of Safari (17.2.1), input rendering can be deferred until the next input after Safari has performed an auto-correction of entered text.
Steps to Reproduce
Using Safari 17.2.1, visit https://trix-editor.org and clear all existing text from the editor.
Ensure that Safari's auto-correct option is enabled (Edit > Spelling & Grammar > Correct Spelling Automatically).
In the editor, press Return once to insert a new blank line.
On the next line, enter some text that will be auto-corrected, like the lowercase letter "i", then press Return. Observe that "i" is auto-corrected to the capital "I".
On the new line, enter any single character. Observe that the character is not rendered.
Enter another single character. Observe that both characters are now rendered.
Demo
trix-safari-input.mov
Details
Browser name and version: Safari 17.2.1
Operating system: macOS 14.2.1 (23C71)
The text was updated successfully, but these errors were encountered:
The insertReplacementText text comes from an autocorrected word. If we
don't request a render, the cursor will be in the wrong place and the
document doesn't update until the user types another character.
Fixes#1119
In the latest version of Safari (17.2.1), input rendering can be deferred until the next input after Safari has performed an auto-correction of entered text.
Steps to Reproduce
Demo
trix-safari-input.mov
Details
The text was updated successfully, but these errors were encountered: