mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-08-15 18:45:06 +00:00
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