Skip to content
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

Wrong caret position after inserting an atom node on safari #1185

Closed
1 task
Violeta-Amza opened this issue Jun 23, 2021 · 3 comments
Closed
1 task

Wrong caret position after inserting an atom node on safari #1185

Violeta-Amza opened this issue Jun 23, 2021 · 3 comments

Comments

@Violeta-Amza
Copy link

Issue details

The caret position is wrong after inserting an atom node.

Steps to reproduce

Starting from the Dino example(https://prosemirror.net/examples/dino/)

  1. delete the entire content
  2. write a simple text and insert a dino node.

As you can see in the attached picture, the caret position is at the beginning of the current line.
Screenshot 2021-06-23 at 13 05 00

Notes:
If I write something after the node dino is inserted, it adds the text after the dino node as it should.

ProseMirror version

latest

Affected platforms

  • Safari
@marijnh
Copy link
Member

marijnh commented Jun 23, 2021

Is this a duplicate of #1165? When you say latest, does that mean you're using prosemirror-view 1.18.8?

@Violeta-Amza
Copy link
Author

Yes, it seems to be a duplicate of #1165. I tested with loaded version from website examples and I assumed that are the latest but there are not, sorry for that.

@marijnh
Copy link
Member

marijnh commented Jun 23, 2021

Great, closing.

@marijnh marijnh closed this as completed Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants