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 insert_text and input_filter always destroy active selection #5938

Open
Matteljay opened this issue Sep 18, 2018 · 0 comments
Open

Comments

@Matteljay
Copy link

Versions

  • Python: 3.7.0
  • OS: Arch Linux x86_64
  • Kivy: 1.10.1
  • Kivy installation method: pacman

Description

I am filtering text inside a TextInput box. When I return an empty substring, I am instructing Kivy to "do nothing". However it will always delete any text I currently have selected.
I've also tried simply 'return' or 'return None' from the insert_text function but this still kills the selection. Same for the input_filter property with a function call: there is no way to sustain a selection afaik. Could this get fixed, please?

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

No branches or pull requests

1 participant