jessepollak / jessepollak/command

Funkiness when placing cursor around slashes

Open
#13 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.1k
Forks
70
PR merge metrics
No merged PRs in 30d

Description

I was writing an email that had a paragraph with a slash in it. Found something funky –– if you place your cursor after the slash, then move it away, the cursor jumps back to right next to the slash.

Recreation steps:

Given I'm a `command` user,
And I am composing an email in Gmail,
And I have some text with a slash in it:

> My favorite Michael Jackson song is Black / White

When I place my cursor immediately to the right of the slash,
And I move my cursor one space away from the slash with the right arrow key,
Then the cursor should remain one space to the right of the slash,
And the cursor should not jump back one space to the left (to the spot just following the slash)

---

This was done in Gmail, not sure if that matters. Hope this makes sense :)

I've also seen the cursor jump to the end of a paragraph sometimes, but haven't figured out the recreation steps yet.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.