Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
rn-keyboard-sticky-view
Advanced tools
Add Whatever You Want (TextInput, Buttons) Inside This Keyboard Sticky View
Add your own component inside this lightweight KeyboardStickyView, whether it be TextInput, Buttons, or who knows what! Supports both Android and iOS.
This component accomplishes the desired outcome using KeyboardAvoidingView
provided by react-native
, without the complicated animation code.
iOS Demo | Android Demo |
---|---|
npm i rn-keyboard-sticky-view
yarn add rn-keyboard-sticky-view
import React from 'react';
import { StyleSheet, TextInput } from 'react-native';
import KeyboardStickyView from 'rn-keyboard-sticky-view';
const KeyboardInput = (props) => {
const [value, setValue] = React.useState('');
return (
<KeyboardStickyView style={styles.keyboardView}>
<TextInput
value={value}
onChangeText={setValue}
onSubmitEditing={() => alert(value)}
placeholder="Write something..."
style={styles.input}
/>
</KeyboardStickyView>
);
}
const styles = StyleSheet.create({
keyboardView: { ... },
input: { ... }
});
export default KeyboardInput;
Props | Type | Description | Default |
---|---|---|---|
style | object | Style of the KeyboardStickyView (background, border, etc.) | {} |
children | node | Content of the KeyboardStickyView | null |
If you think this project is helpful just give me a ⭐️ :D
This project is licensed under the MIT License.
Brought to you by Jinsoo Lim
FAQs
Add Whatever You Want (TextInput, Buttons) Inside This Keyboard Sticky View
The npm package rn-keyboard-sticky-view receives a total of 132 weekly downloads. As such, rn-keyboard-sticky-view popularity was classified as not popular.
We found that rn-keyboard-sticky-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.