basecamp / basecamp/trix

iPad issue with set exact cursor-position and BACKSPACE-key

Open
#1,117 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

iPad issue with set exact cursor-position and BACKSPACE-key

If I enter a https://trix-editor.org with an ipad and click on the word basecamp -> the cursor jumps to the end of the word. Set the cursor by long-pressing-magnifyer on the word basecamp between e and c, the cursor blink at that position.

1. I press BACKSPACE the last letter of basecamp the p will be deleted. Why not the e from base?
2. I press -, I get base-camp. I press backspace and the - will be deleted again. Everything works correct!

Is it an bug or an option? And if it's an option, can I deactivate it and how?

Thanks Claus-Christian Ude

PS: And many thanks for your great work!

Here an gif-animation with a small movie about it:
![sample](https://github.com/basecamp/trix/assets/18512250/d9d0615a-bdb3-4648-b266-bf5773d9b759)

##### Details

* Trix version: actual one on your homepafe https://trix-editor.org
* ipad safari latest version from 08. january of 2024 and all older one's of 2023

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the cursor-placement and Backspace behavior described in the issue on the Trix editor website using iPad Safari, referring to the attached GIF and the listed browser details. Trace the editor's touch cursor and deletion behavior, then verify that Backspace deletes the character immediately before the cursor or that the intended option is clearly identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.