Skip to content
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

Avoiding soft input in modal #1

Closed
mateusz1913 opened this issue Jul 8, 2021 · 0 comments · Fixed by #2
Closed

Avoiding soft input in modal #1

mateusz1913 opened this issue Jul 8, 2021 · 0 comments · Fixed by #2
Assignees
Labels
enhancement New feature or request

Comments

@mateusz1913
Copy link
Owner

Lib should work when content that needs to avoid soft input is rendered inside modal

@mateusz1913 mateusz1913 added the enhancement New feature or request label Jul 8, 2021
@mateusz1913 mateusz1913 self-assigned this Jul 8, 2021
mateusz1913 added a commit that referenced this issue Jul 8, 2021
AvoidSoftInputView introduces possibility to apply translation/bottom padding
to custom content (e.g. form rendered in modal)

setAvoidOffset introduces possibility of increasing/decreasing soft input
translation/padding applied to root view/scroll view

BREAKING CHANGE: now all set* functions are available under AvoidSoftInput object
```js
// import * as AvoidSoftinput from 'react-native-avoid-softinput';
import { AvoidSoftInput } from 'react-native-avoid-softinput';
```
mateusz1913 added a commit that referenced this issue Jul 8, 2021
AvoidSoftInputView introduces possibility to apply translation/bottom padding
to custom content (e.g. form rendered in modal)

setAvoidOffset introduces possibility of increasing/decreasing soft input
translation/padding applied to root view/scroll view

BREAKING CHANGE: now all set* functions are available under AvoidSoftInput object
```js
// import * as AvoidSoftinput from 'react-native-avoid-softinput';
import { AvoidSoftInput } from 'react-native-avoid-softinput';
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant