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

Fixes for Input widget cursor visual glitches #4773

Merged
merged 8 commits into from
Aug 5, 2024

Conversation

darrenburns
Copy link
Member

@darrenburns darrenburns commented Jul 18, 2024

The Input widget has a couple of annoying visual glitches relating to the cursor.

This is another pass over it to ensure that the behaviour matches what you'd expect. When clicking the Input, the cursor no longer flickers to the end.

When you set the value in the Input widget for the first time, the cursor will go to the end of the value.

It also ensures that actions performed inside the Input result in the blink cycle being restarted. Previously it wouldn't go back to the beginning of the cycle and would again cause a weird delay before the cursor is visible.

Closes #4823

@darrenburns darrenburns changed the title Updates to the Input widget cursor Fixes for Input widget cursor visual glitches Jul 18, 2024
@darrenburns darrenburns marked this pull request as ready for review August 5, 2024 11:29
@darrenburns darrenburns requested a review from willmcgugan August 5, 2024 11:35
@darrenburns darrenburns merged commit 9d46229 into main Aug 5, 2024
20 checks passed
@darrenburns darrenburns deleted the input-cursor-visual-fixes branch August 5, 2024 12:04
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.

Focusing Input widget should not move cursor to the end
2 participants