Skip to content

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

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

Conversation

TomJGooding
Copy link
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 Textualize#5811
@willmcgugan
Copy link
Collaborator

Thanks

@willmcgugan willmcgugan merged commit c0cda89 into Textualize:main May 23, 2025
23 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