Wednesday, April 24, 2024
HomeiOS DevelopmentTextInput is just not working in React Native iOS

TextInput is just not working in React Native iOS


I’m utilizing react native’s core part TextInput. Every thing was working fantastic however abruptly TextInputs will not be exhibiting within the app and stopped working in iOS solely. If i’m including borderWidth it is usually not engaged on the textinputs.
I additionally tried to improve react native with newest model however nonetheless similar problem is there.
My undertaking is on 0.72.6 model of React Native

I upgraded the most recent model of React Native. I checked on 0.73.6 and 0.74
I’ve additionally added peak to the textinputs

import {
View,
TextInput,
} from “react-native”;

 <TextInput
            model={kinds.enter}
            placeholder="What are you on the lookout for?"
            worth={searchQuery}
            onChangeText={(question) => {
              handleSearchInputChange(question);
              setInputFocused(true);
            }}
            onBlur={handleInputBlur}
          />`

enter: {
flex: 1,
peak:50,
},



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments