showSoftInputOnFocus prop in TextInput is not working in iOS New Architecture #45297
Labels
Component: TextInput
Related to the TextInput component.
Platform: iOS
iOS applications.
Resolution: PR Submitted
A pull request with a fix has been provided.
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
As per doc,
showSoftInputOnFocus
whenfalse
, it should prevent the soft keyboard from showing when the field is focused.For iOS in New Architecture this is not getting respected and keyboard is getting popped up everytime.
In iOS Old Architecture it's working as expected.
In Android both new and old architecture it's working as expected.
Steps to reproduce
showSoftInputOnFocus
flag set tofalse
.React Native Version
0.74.3
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/shubhamguptadream11/react-native-showSoftInputOnFocus-ios-issue-newarch
Screenshots and Videos
Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2024-07-05.at.14.42.52.mp4
The text was updated successfully, but these errors were encountered: