Join GitHub today
OnOptionsItemSelected Never Called when use MasterDetailPage's Detail as NavigationPage #3894
OnOptionsItemSelected Never Called when use MasterDetailPage's Detail as NavigationPage, and I can't intercept the software back button in the navigation bar.
Steps to Reproduce
I want to intercept the software back button event when use MasterDetailPage.
The OnOptionsItemSelected method do triggered when the mainpage is a NavigationPage, but when use MasterDetailPage, it's never called.
I wrote a demo here
@rmarinho the issue with XF is that it blocks developers from intercepting the back button behaviour (main reason for overriding OnOptionsItemSelected), without giving developers a mechanism to detect and potentially cancel the back operation.