Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caret moves to the end of PR description on first input #5645

Open
AndersRobstad opened this issue Nov 22, 2024 · 1 comment
Open

Caret moves to the end of PR description on first input #5645

AndersRobstad opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working 🎉reproduced🎉 The issue could be reproduced by following the instructions UI Any broken visuals like layouts, colors etc.

Comments

@AndersRobstad
Copy link

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 hit Enter (any key causes the same behavior), then the caret moves to the end of the template.

Skjermopptak 2024-11-22 kl  08 55 09

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

@AndersRobstad AndersRobstad added the bug Something isn't working label Nov 22, 2024
@AndersRobstad AndersRobstad changed the title Caret randomly moves to the end of PR description on first input Caret moves to the end of PR description on first input Nov 22, 2024
@Byron Byron added UI Any broken visuals like layouts, colors etc. 🎉reproduced🎉 The issue could be reproduced by following the instructions labels Nov 22, 2024
@Byron
Copy link
Collaborator

Byron commented Nov 22, 2024

Thanks a lot for reporting and for the perfect description (and illustration) of the issue.

I could easily reproduce it as well and think that @estib-vega would fix this in a jiffy.

@estib-vega estib-vega self-assigned this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🎉reproduced🎉 The issue could be reproduced by following the instructions UI Any broken visuals like layouts, colors etc.
Projects
None yet
Development

No branches or pull requests

3 participants