mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
14dc03e2bd
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53829 Forwards along focus and blur calls to their respective native commands, leaving the TextInput path intact for now. There are a few ways places to implement this, all with different trade offs. I decided to leave TextInputState.js intact and instead only go down the original path if the focused/blurred element is a TextInput by using the registered inputs in TextInputState. This revealed a subtle issue where the TextInputs aren't registered in time for the ref callback, meaning you can't focus them there if you rely on the registered list. Changelog: [Internal] Reviewed By: shwanton Differential Revision: D82676628 fbshipit-source-id: d39c92dfc99ec4b5e100203bb43c8a4f9c80a649