Gathering detailed insights and metrics for react-native-avoid-softinput
Gathering detailed insights and metrics for react-native-avoid-softinput
Gathering detailed insights and metrics for react-native-avoid-softinput
Gathering detailed insights and metrics for react-native-avoid-softinput
Native solution for common React Native problem of focused views being covered by soft input view.
npm install react-native-avoid-softinput
Typescript
Module System
Node Version
NPM Version
66.3
Supply Chain
57.3
Quality
78
Maintenance
50
Vulnerability
94.1
License
TypeScript (34.7%)
Kotlin (32.16%)
Objective-C++ (26.88%)
Objective-C (4.04%)
JavaScript (1.55%)
Ruby (0.67%)
Total Downloads
1,898,561
Last Day
523
Last Week
29,424
Last Month
125,397
Last Year
1,147,673
MIT License
754 Stars
219 Commits
21 Forks
5 Watchers
4 Branches
12 Contributors
Updated on Jul 07, 2025
Minified
Minified + Gzipped
Latest Version
7.0.2
Package Id
react-native-avoid-softinput@7.0.2
Unpacked Size
226.75 kB
Size
41.21 kB
File Count
191
NPM Version
10.8.2
Node Version
20.19.2
Published on
Jun 28, 2025
Cumulative downloads
Total Downloads
Last Day
-10.1%
523
Compared to previous day
Last Week
2.1%
29,424
Compared to previous week
Last Month
5.8%
125,397
Compared to previous month
Last Year
112.6%
1,147,673
Compared to previous year
1
2
react-native-avoid-softinput
Handle keyboard in React Native apps like a Pro
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
This library follows the React Native releases support policy. It is supporting the latest version, and the two previous minor series. You may find it working correctly with some older React Native versions, but it'll be a "Use at your own risk" case.
This library supports "New Architecture".
Library supports Android & iOS, for out-of-tree platforms, View
component is used as fallback.
1yarn add react-native-avoid-softinput
or
1npm i --save react-native-avoid-softinput
1npx pod-install
For reference, you can visit Getting started section
Check usage guides for module and view
If library does not suite your needs, you can check alternatives section
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
No vulnerabilities found.
Reason
13 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 1/12 approved changesets -- score normalized to 0
Reason
security policy file not detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
18 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More