nativescript-vue / nativescript-vue

Native mobile applications using Vue and NativeScript.
https://nativescript-vue.org/
MIT License
5.39k stars 241 forks source link

Bottomnavigation programatic navigation bugs. #609

Open rnmhdn opened 4 years ago

rnmhdn commented 4 years ago

Version

2.5.0

Reproduction link

https://play.nativescript.org/?template=play-vue&id=Cr5A99&v=22

Platform and OS info

Android 8.0 / tns 6.4.1 / archlinux 5.4.15-arch1-1

Steps to reproduce

If you click on 1, then press the button go to 0 then show modal, then go to 1, it will take you to page 1. If you click on 0, then show modal, then go to 1, it will take you to page 0.

What is expected?

see page 1

What is actually happening?

see page 0


https://stackoverflow.com/questions/60440418/bottomnavigation-programatic-navigation?noredirect=1#comment106963694_60440418

pourquoi commented 4 years ago

I'm also having issues with the reactivity of the selectedIndex. Try this workaround: https://play.nativescript.org/?template=play-vue&id=N6L2nz.