Skip to content
This repository has been archived by the owner on Dec 7, 2017. It is now read-only.

React Native KeyboardAvoidingView wrapped with a Touchable to dismiss when the user clicks outside

Notifications You must be signed in to change notification settings

viewstools/keyboard-avoiding-and-dismissing-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KeyboardAvoidingAndDismissingView

This component wraps KeyboardAvoidingView in a TouchableWithoutFeedback that only gets enabled when the keyboard is shown.

It takes the same props as the KeyboardAvoidingView.

It sets some default props:

style={{ flex: 1}}
behavior="padding"

License MIT.

By ViewsDX :).

About

React Native KeyboardAvoidingView wrapped with a Touchable to dismiss when the user clicks outside

Resources

Stars

Watchers

Forks

Packages

No packages published