Open anchpop opened 6 years ago
I'm having this exact same issue
you could solve this issue?
Having the same issue on my Android devices.(everything is fine on iOS)
Whenever the Tooltip is show, my buttonComponents will be pushed down a little bit.
I have to adjust the value calculated in onInnerContainerLayout
in order to make things right.
@ingChristian27 Seems like the problem can be fixed if we leave our buttonComponent
where it is instead of re-showing it inside the Modal
component.
I have modified the source code a little and put much more comments (in Chinese) in it
feel free to leave a comment and we can discuss more.
@anchpop @gartlandj @ingChristian27 and other people who follow this issue, it is because of the StatusBar height on Android. As you can see in the video, it has a lighter color and is the one that pushes the content down. The easy fix is to add statusBarTranslucent
prop to the Modal component. Hope this help.
video
Relevant code:
This happens even when I set
setBelow={true}
(the component moving up and down)