Caret moves to the end of PR description on first input #5645
Labels
bug
Something isn't working
🎉reproduced🎉
The issue could be reproduced by following the instructions
UI
Any broken visuals like layouts, colors etc.
Version
0.13.16
Operating System
macOS
Distribution Method
dmg (Apple Silicon)
Describe the issue
When opening a PR with a template from Gitbutler the caret jumps to the end of the template on first keydown
How to reproduce
So when i place the caret at the top of the template to start writing I have to first click on any key, then move the caret back to the top, and then I'm able to start writing the PR description. In the video below I place the caret at the end of
## Description
and hitEnter
(any key causes the same behavior), then the caret moves to the end of the template.Expected behavior
When having placed the caret inside the PR description I expect it to be placed there when I start writing
Relevant log output
No response
The text was updated successfully, but these errors were encountered: