Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react native modal keyboad open i want once backbutton pressed to close the keyboard and the modal at the same time #753

Open
trakitrak opened this issue Oct 25, 2023 · 0 comments
Labels

Comments

@trakitrak
Copy link

<Modal

  useNativeDriver={true} 
  useNativeDriverForBackdrop={true}
 onBackButtonPress={()=>{   
  Keyboard.dismiss()
  setshowsearch(false)

}}

isVisible={showsearch}

animationIn={'slideInLeft'}
onBackdropPress={()=>{
Keyboard.dismiss()
setshowsearch(false)
}}

statusBarTranslucent={true} coverScreen={true}
style={{margin: 0,
justifyContent:'flex-start'
}}>

@trakitrak trakitrak added the bug label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant