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

Custom Hot Keys for Edit Text #2515

Closed
TranquilAbyss opened this issue Nov 10, 2024 · 0 comments
Closed

Custom Hot Keys for Edit Text #2515

TranquilAbyss opened this issue Nov 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@TranquilAbyss
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I was trying to add an event to happen when EditText was selected and pressing the enter key. I would like it for more than just Edit Text since I may come up with other elements to create hotkeys for.

Describe the solution you'd like
It would help to expose the existing KeyPressEvents on UI Elements.

Describe alternatives you've considered

  1. Since the Key Press Events are not available I would have to capture a global key press and check every EditText to see which had focus.
  2. Or I would have to create a custom EditText class that provides access to the events.

Additional context
I am willing to create the PR myself, If there is any documentation that requires update, for changing an internal to a public class and event, let me know since I am new to how things get updated in this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant