expo / ex-navigation

Route-centric navigation for React Native
997 stars 201 forks source link

Android back button navigation pop does not trigger onWillChangeTab #496

Open nblumoe opened 7 years ago

nblumoe commented 7 years ago

As the title says: When a tab is changed from an Android back button press, the callback onWillChangeTab is not being triggered.

I already have a back button handler from where I could call that manually, but I would need access to the tab id in that case.

Is the observed behaviour a bug? Is there a way to get the relevant tab id from within my custom back button handler so that I could implement a workaround?