Single leading spaces before other text are not visible in Firefox
- Dominant language
- JavaScript
- Stars
- 20k
- Forks
- 1.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 13
Description
In Firefox, a single space typed at the beginning of existing text is not displayed. Typing a second space will make two spaces appear. I can reproduce this in my own app as well as in the Trix editor on Basecamp.
##### Steps to Reproduce
1. Load a page with an empty Trix editor in Firefox
2. Enter the text 'foo' in the editor
3. Go to the beginning of the text and type a single space
4. The space does not appear
##### Details
* Trix version: 1.3.1
* Browser name and version: Firefox 99.0
* Operating system: Linux
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue in the Trix editor on Firefox 99 using the listed steps, then compare the behavior with other browsers. The work is done when a single leading space typed before existing text is visibly preserved without requiring a second space.
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
- Mostly clear
- Newbie friendliness
- 38/100