-
Notifications
You must be signed in to change notification settings - Fork 50
Bottom form #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bottom form #17
Conversation
Almouro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Just small syntax comments, thanks for the PR!
README.md
Outdated
| /> | ||
| ); | ||
|
|
||
| name="gender" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this should be here :D
README.md
Outdated
| ); | ||
| ``` | ||
|
|
||
| ## Troubleshooting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rename it Guide
README.md
Outdated
|
|
||
| ## Troubleshooting | ||
|
|
||
| ### Create a form at the bottom of a page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rename to "Move form above keyboard"
README.md
Outdated
|
|
||
| ### Create a form at the bottom of a page | ||
|
|
||
| The purpose of this section is to give you a solution to create a bottom form which will go up when the keyboard appear, and the content at the top at the page will disappear. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
appears
README.md
Outdated
|
|
||
| The purpose of this section is to give you a solution to create a bottom form which will go up when the keyboard appear, and the content at the top at the page will disappear. | ||
|
|
||
| You have to : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no space before : ;)
README.md
Outdated
|
|
||
| You have to : | ||
|
|
||
| * Create a form like you learn before ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
; -> : no?
learnt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more "like you learnt above"
README.md
Outdated
| You have to : | ||
|
|
||
| * Create a form like you learn before ; | ||
| * Use [react-native-keyboard-spacer](https://github.com/Andr3wHur5t/react-native-keyboard-spacer) : it will create view with the keyboard's size when the keyboard will opened; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no space before :
README.md
Outdated
|
|
||
| * Create a form like you learn before ; | ||
| * Use [react-native-keyboard-spacer](https://github.com/Andr3wHur5t/react-native-keyboard-spacer) : it will create view with the keyboard's size when the keyboard will opened; | ||
| * Use [react-native-hide-with-keyboard](https://github.com/bamlab/react-native-hide-with-keyboard) : it will hide component when the keyboard will opened. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no space before :
|
|
||
| Enjoy your life : | ||
|
|
||
|  |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! :D
| export default AdoptACat; | ||
| ``` | ||
|
|
||
| For Android, we don't have to use react-native-keyboard-spacer because `android:windowSoftInputMode` is in `adjustResize` mode. Indeed, the view is automatically resize and you don't have to fill it like on iOS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Review's changes
New section that explain how to create a bottom form.