The Wire ยท Showcase
REACT FIXES NUMBER INPUT QUIRK, REACT NATIVE DEPRECATES INPUTACCESSORYVIEW
By RepoJournal ยท Filed ยท About Meta
React's Fiber engine stops working around a Chrome bug that was fixed four years ago, while React Native is consolidating input handling by deprecating iOS-only InputAccessoryView.
React shipped a fix [1] that removes special-case logic for number input defaultValue updates. Browsers fixed the underlying Chrome and WebKit bugs back in 2020, making the workaround obsolete and simplifying the codebase. This touches a core path in form handling, so test your number inputs on next canary. Meanwhile, React Native is deprecating InputAccessoryView [2] as part of keeping core lean; react-native-keyboard-controller's KeyboardStickyView is the blessed cross-platform replacement and it's time to migrate off the iOS-only component. On the infrastructure side, React Native fixed a performance leak [3] where shadow-node reference updates were happening on every tick instead of once during Fabric install. The team also patched module graph reachability [4] to keep setup-env available to Metro's serializer, and fixed the HelloWorld test preset [5] after removing the jest-preset redirect. A smaller fix [6] addresses decimal value parsing in transformOrigin, which was silently corrupting values like 12.5px.
Action items
- โ Test number inputs after upgrading to next React version with Fiber number input fix facebook/react [plan]
- โ Migrate from InputAccessoryView to react-native-keyboard-controller for cross-platform support facebook/react-native [plan]
- โ Verify transformOrigin string parsing with decimal values in your app facebook/react-native [monitor]
References
- [1] [Fiber] Update input.defaultValue for type=number too (#36980) facebook/react
- [2] Deprecate InputAccessoryView (#57402) facebook/react-native
- [3] Move shadow-node ref update thread tag to Fabric install (#57497) facebook/react-native
- [4] Keep react-native/setup-env reachable in the module graph (#57492) facebook/react-native
- [5] Fix HelloWorld Jest preset after react-native/jest-preset removal (#57491) facebook/react-native
- [6] fix: decimal values in transformOrigin string parser (#57487) facebook/react-native