Skip to content

fix(text): preserve cursor position while editing - #394

Merged
walterlow merged 1 commit into
walterlow:mainfrom
TupiC:fix/text-cursor-position
Oct 29, 2026
Merged

walterlow merged 1 commit into
walterlow:mainfrom
TupiC:fix/text-cursor-position

Conversation

@TupiC

@TupiC TupiC commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

changing text in textarea input causes cursor to always snap to the end of the string. this pr fixes this.

before PR

textarea-issue.mov

after PR

textarea-correct.mov

@vercel

vercel Bot commented Oct 29, 2026

Copy link
Copy Markdown

@TupiC is attempting to deploy a commit to the walterlow's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Preserves the cursor while editing text in the properties sidebar.

  • Text edits in the clip properties sidebar keep the caret and focused span field in place.

Reviews (1) · Last reviewed commit: "fix(text): preserve cursor position whil..." · Reviewed by Greptile

@walterlow
walterlow merged commit 5ceeeb3 into walterlow:main Oct 29, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants