henrychavez / nativescript-bottom-navigation

Nativescript plugin for Android & iOS to have the bottom navigation bar of Material Design
Apache License 2.0
58 stars 18 forks source link

[BUG] Trigger selectedIndex change for BottomNavigation do not apply active color on IOS #80

Closed mkrierQape closed 5 years ago

mkrierQape commented 5 years ago

Which platform(s) does your issue occur on?

What type of device?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible. Describe the steps to reproduce the behavior:

bind selectedIndex to a variable :

<BottomNavigation ref='NavigationBottom' @selectedIndexChanged='selectedIndex = $event.newIndex' :selectedIndex='selectedIndex'>[TabStrip...]</BottomNavigation>

trigger a change in typescript :

this.selectedIndex = 3; ( select the last tab )

on android it it working fine, on IOS content change ( so change is correctly triggered ) but the active color is not apply to the current selected tab and is not remove from the old index

see video for visual on Android and IOS : https://youtu.be/tammsYHAZeA ( blue button with 'ff' is the trigger )

trungliennd commented 4 years ago

@henrychavez This bug has been fixed, but I still see this bug, thank you