Ons Tabbar animation options not working - React



  • I can’t seem to get the Tabbar animation options to take effect. I’ve tried different combinations of options, as well as the example provided in the documentation to no success.
    Code looks something like this:

    <Tabbar 
              position='auto'
              index={this.state.index} 
              animation='slide'
              animationOptions={{duration: 0.2, delay: 0.4, timing: 'ease-in'}}
    

    Any help is appreciated


  • Onsen UI

    @Arrais Looks like it doesn’t work properly. We are releasing an improved version of ons-tabbar next week and this will be fixed. For now you can try animation-options='{duration: 1}', it will work.



  • @Fran-Diox Hey, thanks for the answer and I’ll take a look into the new tabbar.


Log in to reply