Files
react-native-web/packages
Nicolas Gallagher 2a930b7e3f [fix] Change logic of PressResponder for keyboards
This patch removes the keyboard `onClick` shim from `unstable_createElement`
and adds it to the `PressResponder`.

Previously, the logic in `createElement` was calling `onClick` during
`onKeyDown`. This could result in React state update warnings if the host
element was no longer in the DOM during `keyup`.

Fix #2051
2021-06-14 10:25:20 -07:00
..
…