Android behaviour on Samsung Galaxy
See original GitHub issueHi, the package works great both on android and ios, but it acts weirdly on samsung devices.
Basically, it seems like <KeyboardSpacer />
is not needed on samsung devices, while necessary on other android devices to move the content away from keyboard.
Eg. I have a position: absolute
element anchored to the bottom of the view, and I’m using a keyboardspacer to keep it attached to the bottom and visible right above the keyboard when the keyboard shows up. If I use the keyboard spacer, it looks right on my Nexus 5, but it pushes the button away from the keyboard on a Samsung Galaxy S6.
The only solution I came up with is device detection, but I don’t think it’s a viable solution (I should test every possible android device to ensure the same behaviour).
Has anyone experienced this same inconsistency?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
I tested my app only with galaxy phones. So what I did was
This results in the intended behaviour on IOS and my galaxy phones and galaxy tablets. Now I checked Nexus 5 on simulator and it looks fine on that device as well.
BTW, I an running on 0.32
Closing as this seems resolved;