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

TextInput cursor visual offset when pasting #86

Open
macarooni-man opened this issue Sep 13, 2024 · 0 comments
Open

TextInput cursor visual offset when pasting #86

macarooni-man opened this issue Sep 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working design Relating to UIX or menu layout

Comments

@macarooni-man
Copy link
Owner

For text boxes that have a character limit, pasting will move the cursor even if no text was added. This will require the following fixes:

  • Add a default "character limit" attribute to the custom BaseInput class
  • Once the character limit is added, use that in both insert_text() to prevent text from being inserted (like it is now) and figure out what function Kivy uses to move the cursor, and prevent that from running when the character limit is met or exceeded
@macarooni-man macarooni-man added bug Something isn't working design Relating to UIX or menu layout labels Sep 13, 2024
@macarooni-man macarooni-man self-assigned this Sep 13, 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 design Relating to UIX or menu layout
Projects
None yet
Development

No branches or pull requests

1 participant