-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reimplement Keyboarding Behavior on top of Pressability #4598
Comments
Obviously un-breaking controller and stuff is top priority (labeling must-fix). Upstreaming the changes would be good but isn't necessarily on the same timeline. Feel free to split out a separate issue for that. |
Dropping this for now because I don't have the bandwidth to look at both this and the OOM issues preventing developers from building the app at the same time. Clarified the title of this issue, since this requires a new implementation for 0.62 instead of straight mechanical work. Marking for discussion. Hoping to pick this up again right after. |
Jumping back onto this. Don't remember why I took the triage tag off of this one... |
Fixes microsoft#4598 This change reenables touchables to be activated by keyboard/Gamepad. The implementation is mostly stolen from the previous that was used for Touchable. Like before, this doesn't participate in the input state machine, as its coupled to touch input. This means we don't get things like long-press detection, but we do still get feedback for key-in and key-out. We should do something better when we upstream keyboard behavior to do proper integration into the Pressability state machine, but this is invasive enough that we shouldn't fork this. Validated Spacebar and enter functionality with various touchables.
* Implement Keybpoarding/Gamepad Activation for Pressability Fixes #4598 This change reenables touchables to be activated by keyboard/Gamepad. The implementation is mostly stolen from the previous that was used for Touchable. Like before, this doesn't participate in the input state machine, as its coupled to touch input. This means we don't get things like long-press detection, but we do still get feedback for key-in and key-out. We should do something better when we upstream keyboard behavior to do proper integration into the Pressability state machine, but this is invasive enough that we shouldn't fork this. Validated Spacebar and enter functionality with various touchables. * Change files * Flow fixes * Fix typo
…4930) * Implement Keybpoarding/Gamepad Activation for Pressability Fixes microsoft#4598 This change reenables touchables to be activated by keyboard/Gamepad. The implementation is mostly stolen from the previous that was used for Touchable. Like before, this doesn't participate in the input state machine, as its coupled to touch input. This means we don't get things like long-press detection, but we do still get feedback for key-in and key-out. We should do something better when we upstream keyboard behavior to do proper integration into the Pressability state machine, but this is invasive enough that we shouldn't fork this. Validated Spacebar and enter functionality with various touchables. * Change files * Flow fixes * Fix typo
* Implement Keybpoarding/Gamepad Activation for Pressability Fixes #4598 This change reenables touchables to be activated by keyboard/Gamepad. The implementation is mostly stolen from the previous that was used for Touchable. Like before, this doesn't participate in the input state machine, as its coupled to touch input. This means we don't get things like long-press detection, but we do still get feedback for key-in and key-out. We should do something better when we upstream keyboard behavior to do proper integration into the Pressability state machine, but this is invasive enough that we shouldn't fork this. Validated Spacebar and enter functionality with various touchables. * Change files * Flow fixes * Fix typo
We had previously patched Touchable to support activation by pressing down on spacebar, enter, or the gamepad "A" key. This code was rewritten in 0.62 with the introduction of Pressability. We need to reimplement our patches here. We should ideally make this change upstream as well, but we likely don't have enough keyboarding changes there yet.
The text was updated successfully, but these errors were encountered: