You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Our APP was using WillPopScope in large amount of places, recently we integrated the PersistentBottomNavBar, after integrating we found out the WillPopScope - call back function stopped firing.
I saw other peoples are also facing similar issue with the package and there are open issues.
On little bit digging , I updated the persistent-tab-view.widget.dart (from the package) to use NestedWillPopScope (https://gist.github.com/schultek/cc2acd8014be255c2a639a98d47be4e0) and also updated the other places in our app to use the same instead of WillPopScope, the call back function started working.
Just wanted to share my experience and if wanted to know , if you see potential drawback of this.
The text was updated successfully, but these errors were encountered:
Hello,
Our APP was using WillPopScope in large amount of places, recently we integrated the PersistentBottomNavBar, after integrating we found out the WillPopScope - call back function stopped firing.
I saw other peoples are also facing similar issue with the package and there are open issues.
On little bit digging , I updated the persistent-tab-view.widget.dart (from the package) to use NestedWillPopScope (https://gist.github.com/schultek/cc2acd8014be255c2a639a98d47be4e0) and also updated the other places in our app to use the same instead of WillPopScope, the call back function started working.
Just wanted to share my experience and if wanted to know , if you see potential drawback of this.
The text was updated successfully, but these errors were encountered: