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
npm install react-native-avoid-softinput
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
716 Stars
202 Commits
21 Forks
5 Watching
4 Branches
12 Contributors
Updated on 20 Nov 2024
TypeScript (33.89%)
Kotlin (32.14%)
Objective-C++ (27.59%)
Objective-C (4.17%)
JavaScript (1.33%)
Ruby (0.88%)
Cumulative downloads
Total Downloads
Last day
76.2%
5,274
Compared to previous day
Last week
44.7%
24,189
Compared to previous week
Last month
-6.9%
91,793
Compared to previous month
Last year
103.3%
779,838
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
no dangerous workflow patterns detected
Reason
30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 2/9 approved changesets -- score normalized to 2
Reason
8 existing vulnerabilities detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
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
Score
Last Scanned on 2024-11-18
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