0
render(){
   return(
      <View style={{ flex:1 }}>
         <TextInput style={{ backgroundColor:'red'}} onFocus={() => alert('Focued')}
            onBlur={() => alert('Blurred') } 
         />
      </View>
   )
}

In the above code snippet when I click on textinput the focus operation is working, but when I click outside the textinput component onBlur is not triggered.

I don't want to enclose the component in scrollview

could any one help me out on this.

Shariq
  • 83
  • 2
  • 13

0 Answers0