ionic-native-transitions icon indicating copy to clipboard operation
ionic-native-transitions copied to clipboard

Nested Transitions with tabs animates tabs

Open tskweres opened this issue 8 years ago • 4 comments

If I have nested transitions within tabs, the plugin animates the tabs as well.

Is it possible to adjust the fixedPixelsBottom to prevent this?

Tabs are quite a popular layout for apps, this is a bit of a non-starter for the plugin. Any ideas?

tskweres avatar May 21 '16 08:05 tskweres

yes using fixedPixelsBottom you should be able to do that.

shprink avatar May 21 '16 08:05 shprink

@shprink can I change it back and forth inside of the controllers?

I would like the pixelBottom to be 0 on some pages, and 44px on others.

tskweres avatar May 22 '16 00:05 tskweres

Every state can have a different transition:

https://github.com/shprink/ionic-native-transitions#usage

Try a different fixedPixelsBottom that way and let me know, I have never done that but I should work.

shprink avatar May 22 '16 02:05 shprink

Works great, thanks!

tskweres avatar May 25 '16 16:05 tskweres