Automattic / Automattic/harper
Cursor jumps to start of paragraph after accepting Harper suggestion in Brave
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 106
Description
**Describe the bug**
Text cursor jumps to the start of the paragraph after accepting a Harper suggestion while using Brave.
**To Reproduce**
Steps to reproduce the behavior:
1. Type into a text box. Include a grammatical error.
2. Click on the text highlighted by Harper.
3. Click on one of the suggestions offered by Harper.
**Expected behavior**
The text cursor should remain in the position where it was left prior to accepting the suggestion.
**Screenshots**
Not applicable.
**Platform**
OS: MacOS 26.2 (Apple Silicon)
Brave Browser Version: 1.82.173
Chromium Version: 140.0.7339.213
Harper Version: 1.4.1
Websites: Discord, YouTube
**Additional context**
None
Contributor guide
Research direction
Start by reproducing the cursor jump in Brave 1.82.173 on Discord or YouTube with Harper 1.4.1, following the listed steps. Trace the suggestion-acceptance behavior and verify that the cursor remains where it was before acceptance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100