git-point
git-point copied to clipboard
fix: show new issue submit button when keyboard is open
Fixes https://github.com/gitpoint/git-point/issues/289
iOS screenshot

Android screenshot

@acurat What if the user is using a custom keyboard that isn't the default system size? GBoard for iOS, for example, is at least another 50px larger than the system default. There's probably a more fluid way to do this.
Here is a screenshot with the GBoard keyboard. It looks fine.

Now, that I re-read the KeyboardAvoidingView's documentation, it makes sense. Need to only offset the react navigation header, the height of which is fixed in this app.
_ keyboardVerticalOffset: number
This is the distance between the top of the user screen and the react native view, may be non-zero in some use cases. _
Anyways, let me know if there is a better way to do this.
@acurat it does not work for me (Russian keyboard):

Friendly ping @acurat, just wanted to check in and see if you need any help with this at all :)
@housseindjirdeh Yes, I am not sure I know a better solution for this. Any help is appreciated.
Seems like React Native 0.55 will ship with something interesting for this PR: https://twitter.com/brunolemos/status/977037390429777920