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

If you Control+Right Arrow in the editor and pass over a pill your cursor is reset to the beginning of the text #15366

Closed
anoadragon453 opened this issue Oct 2, 2020 · 1 comment
Labels

Comments

@anoadragon453
Copy link
Member

Description

Video of the issue: https://streamable.com/j151lc

I use Ctrl+Right Arrow (and left arrow) to go quickly back and forth when writing a message. I've noticed that in Element if you do this while passing over a pill, your cursor will be reset to the beginning of the text field. Oddly, if there's a space at the beginning of the text field, then the cursor will be reset to the end of the first word.

Steps to reproduce

  • Enter some text with a pill in it. User and room pills both work.
  • Try to Ctrl-Right Arrow past it
  • Your cursor gets taken to the beginning of the line

Logs being sent: yes

Version information

I can reproduce this on:

  • Platform: desktop
  • OS: Debian Linux
  • Version: 1.7.8

I cannot reproduce this on:

  • Platform: browser
  • Browser: Firefox Nightly 83.0a1 (2020-09-24)
  • OS: Debian Linux
  • URL: develop.element.io

This has been a bug for a while, I don't think it's a recent regression.

@t3chguy
Copy link
Member

t3chguy commented Oct 2, 2020

Duplicate of #15037

@t3chguy t3chguy marked this as a duplicate of #15037 Oct 2, 2020
@t3chguy t3chguy closed this as completed Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants