Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Safari] Selection moves to the beginning of the editor after focusing the editor for the first time #4190

Closed
Mgsy opened this issue Oct 2, 2017 · 2 comments · Fixed by ckeditor/ckeditor5-engine#1201
Assignees
Labels
package:engine type:bug This issue reports a buggy (incorrect) behavior.
Milestone

Comments

@Mgsy
Copy link
Member

Mgsy commented Oct 2, 2017

Steps to reproduce

  1. Go to https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/examples/builds/classic-editor.html.
  2. Focus the editor.

Current result

The caret has appeared at the beginning of the editor.

Other information

OS: MacOS X
Browser: Safari 11
Release: 0.11.0

@scofalik
Copy link
Contributor

scofalik commented Oct 4, 2017

I can reproduce it once every 4-5 tries, so I cannot be 100% sure, but this issue seems to be related to https://github.com/ckeditor/ckeditor5-engine/issues/1153 and the fix for that issue makes it that I can't reproduce it even once.

@Mgsy
Copy link
Member Author

Mgsy commented Oct 4, 2017

I can reproduce it once every 4-5 tries, so I cannot be 100% sure, but this issue seems to be related to #4188 and the fix for that issue makes it that I can't reproduce it even once.

I can confirm that your fix solves this issue.

@scofalik scofalik self-assigned this Oct 4, 2017
szymonkups referenced this issue in ckeditor/ckeditor5-engine Dec 12, 2017
Fix: Added a 50ms timeout after `Document#focus` event before rendering to be sure that selection changes are processed on Firefox and Safari. Closes ckeditor/ckeditor5#676. Closes #1157. Closes #1155. Closes #1153.
@mlewand mlewand transferred this issue from ckeditor/ckeditor5-engine Oct 9, 2019
@mlewand mlewand added this to the iteration 14 milestone Oct 9, 2019
@mlewand mlewand added status:confirmed type:bug This issue reports a buggy (incorrect) behavior. package:engine labels Oct 9, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
package:engine type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants