ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.54k stars 3.7k forks source link

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

Open f1ames opened 2 months ago

f1ames commented 2 months ago

📝 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

Might be related to #5874.


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

michalbilik commented 2 months ago

Might be related to: https://github.com/ckeditor/ckeditor5/issues/14625