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

Cursoring broken when widgets inside an empty par #852

Open
2 of 4 tasks
RichieAHB opened this issue Sep 28, 2018 · 1 comment
Open
2 of 4 tasks

Cursoring broken when widgets inside an empty par #852

RichieAHB opened this issue Sep 28, 2018 · 1 comment

Comments

@RichieAHB
Copy link

Issue details

As above.

Steps to reproduce

https://quick-phone.glitch.me/

The widgets are absolutely positioned to show where they are but the bug is the same when they are not absolutely positioned.

Cursor at the end of the heading, press Enter, cursor position does not change. Continue to cursor up and down through the empty spaces into the heading and lower par and you'll see oddly positioned cursors. This is worse in Firefox.

ProseMirror version

Latest in Glitch

Affected platforms

  • Chrome
  • Firefox - untested
  • Internet Explorer
  • Other
@marijnh
Copy link
Member

marijnh commented Mar 20, 2020

There's a bunch of really horrible Chrome brokenness coming up with this—the selection reported by getSelection doesn't match the visible cursor (once again), and cursor motion is doing things that really don't make any sense. I'm not sure where to even start with working around these.

In Firefox, the situation is also not great, but the only issue seems to be that the cursor is invisible, it is at least behaving reasonable.

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