ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

[iOS] Editor scrolls to the top when clicking on block widget on unfocused editor instance

Open f1ames opened this issue 1 year ago • 0 comments

📝 Provide detailed reproduction steps (if any)

  1. Go to https://ckeditor.com/docs/ckeditor5/latest/index.html.
  2. Go to demo (beginning of docs page) and tap on one of the embeds in the editor.
  3. Tap outside of editor.
  4. Again tap on one of the embeds in editor.

https://github.com/user-attachments/assets/4eaeea07-462d-47cb-bcde-3657b8cd9ecd

✔️ Expected result

Every time I tap on embed (when editor is not focused), it gets focused and is still visible in the viewport.

❌ Actual result

Every time I tap on embed (when editor is not focused), it gets focused but editor content scrolls to the top.

❓ Possible solution

📃 Other details

  • Browser: Safari
  • OS: iOS 17.5.1
  • Device: iPhone SE, display 4.7 in with 1334 × 750 px resolution
  • First affected CKEditor version: Not sure, at least 43.0.0 but probably earlier ones too.
  • Installed CKEditor plugins: See mention docs page.

Might be related to #5874.


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

f1ames avatar Aug 28 '24 14:08 f1ames