basecamp / basecamp/trix

Ordered and unordered list still adds new text to the first item after a new item is created on newline instead of the newly created one (Firefox on Android)

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

Description

Steps to Reproduce
- Use your Android phone and open Firefox
- Go to trix-editor.org
- Go to a blank line in the Trix editor input field
- Tap/click the "unordered list" format button
- You'll see a bullet appear as you now write the first list item
- Write some text in the first list item
- Tap/click newline (return)
- A new list item will appear
- Type some text
- The text appears in the first item

Details
- Trix versions: 1.3.1 and 2.0.0-alpha.1
- Browser name and version: Firefox (100)
- Operating system: Android

May be related to #961 in Chrome on Android. On iOS and in desktop browsers there seem to be no such issues.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue at trix-editor.org in Firefox 100 on Android, using the Trix editor input field and its unordered or ordered list format button. Compare text insertion after pressing return with the behavior on iOS or desktop browsers; done means new text is inserted into the newly created list item rather than the first item.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.