Skip to content

fix(input): fix invalid cursor position after updating value#5812

Merged
willmcgugan merged 1 commit into
Textualize:mainfrom
TomJGooding:fix-input-fix-invalid-cursor-position-after-updating-value
May 23, 2025
Merged

fix(input): fix invalid cursor position after updating value#5812
willmcgugan merged 1 commit into
Textualize:mainfrom
TomJGooding:fix-input-fix-invalid-cursor-position-after-updating-value

Conversation

@TomJGooding

Copy link
Copy Markdown
Contributor

Validate the Input selection when the value changes, to ensure it accounts for the length of the new value.

Fixes #5811

Please review the following checklist.

  • Docstrings on all new or modified functions / classes
  • Updated documentation
  • Updated CHANGELOG.md (where appropriate)

Validate the `Input` selection when the value changes, to ensure it
accounts for the length of the new value.

Fixes #5811
@willmcgugan

Copy link
Copy Markdown
Member

Thanks

@willmcgugan willmcgugan merged commit c0cda89 into Textualize:main May 23, 2025
22 checks passed
@TomJGooding TomJGooding deleted the fix-input-fix-invalid-cursor-position-after-updating-value branch May 23, 2025 15:03
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.

Changing Input value doesn't update cursor position

2 participants