Skip to content

Native solution for common React Native problem of focused views being covered by soft input view.

License

Notifications You must be signed in to change notification settings

batical/react-native-avoid-softinput

 
 

Repository files navigation

react-native-avoid-softinput

Native solution for common React Native problem of focused views being covered by soft input view. It is solved by listening for soft input events and applying translation to react root view (or bottom padding if focused element's parent is scroll view) entirely on native side and only if currently focused view is covered by soft input frame. It supports focused views being positioned in scroll views and regular views (check out example app). It also supports modal content, when content is wrapped in AvoidSoftInputView.

Check package documentation

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

Native solution for common React Native problem of focused views being covered by soft input view.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 36.0%
  • TypeScript 30.9%
  • Swift 26.3%
  • Objective-C 3.1%
  • JavaScript 2.6%
  • Ruby 0.9%
  • Other 0.2%