Skip to content

Commit 3bfc64d

Browse files
committed
initial 7
1 parent 1ea4d13 commit 3bfc64d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/after.gif

-5.77 MB
Loading

.github/before.gif

-5.37 MB
Loading

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# react-native-keyboard-area
22

3-
## Introduction
4-
53
This library will address these problems:
64

75
- When set **windowSoftInputMode** to `adjustNothing`, the React Native Keyboard events, `keyboardDidHide` and `keyboardDidShow`, will stop working ([see issue #2852](https://github.com/facebook/react-native/issues/2852#issuecomment-141712317)).
@@ -36,7 +34,7 @@ In addition is also possible **to control** the state with `isOpen` props or wit
3634

3735
Another benefit is that the ReactNaive will **not repaint** the whole app when the keyboard appears since main view will not change is size.
3836

39-
### Real world example, before and after
37+
### Real world example: before and after
4038

4139
<div style="text-align: center">
4240
<table>
@@ -116,7 +114,7 @@ render() {
116114

117115
## Android notes
118116

119-
Since on android we might want use adjustResize for the others page, we can use this library `setWindowSoftInputMode` to dynamically change the Input mode only for the page then we need, for example:
117+
Since on android we might want use adjustResize for the others page, we can use this library `setWindowSoftInputMode` to dynamically change the SoftInput mode only for the pages that we need, for example:
120118

121119
```tsx
122120
import { RNKeyboard, SoftInputMode } from 'react-native-keyboard-area';
@@ -148,4 +146,4 @@ componentWillUnmount() {
148146

149147
### Credits
150148

151-
For Android all credits goes to [Cristian Holdunu](https://github.com/Crysis21) and [Siebe Brouwer](https://github.com/siebeprojects) for the `PopupWindow` idea implementation to calculate the keyboard height, I just port it in React Native module system.
149+
For Android all credits goes to [Cristian Holdunu](https://github.com/Crysis21) and [Siebe Brouwer](https://github.com/siebeprojects) for the `PopupWindow` idea implementation and to calculate the keyboard height, I just port it in the React Native module system.

0 commit comments

Comments
 (0)