aputinski/react-navigation-controller

Top view shifts down during navigation

Closed this issue · 1 comments

If I push a new view left, the current view jumps down the height of the pushed view while the transition is in progress. It doesn't look right. I looked at the example, and they have special position:relative or absolute tags on some css elements. I tried those, but the absolute position won't work in my case. Is this special css required?

Yeah, typically you would style .ReactNavigationController with position:relative with a fixed width/height and then .ReactNavigationController would be position:absolute so that the controller can animation the translation property.