Expose Focused Menu in drawer navigation
closed
satya164
closed
satya164
Can you elaborate what you mean? It's hard to understand what you're describing. What;s a focused drawer menu?
djsnooppyzat De'poet
satya164: Hi. Imagine this, using the drawer navigation. There are routes for
. Home
. About
. Contact us
. Explore
Now am at the 'Home' screen, I open the drawer menu and the 'Home' screen menu is highlighted,
I click on 'About' and the 'About' menu is highlighted and the about screen is opened.
I then open the drawer menu again, see that the 'About' menu is highlighted and I click on 'Contact Us'.
The 'Contact Us' menu is highlighted and the 'Contact Us' screen is opened.
Now when i decide to go back to the 'Home' screen by pressing the back button on android I would expect that:
Since I am currently in the 'Contact Us' screen and the 'Contact Us' menu is highlighted, when I press the back button on my phone the first time, the 'About' screen is showed and when I open the drawer menu, I should see the 'About' menu is highlighted.
But now, when I do that, and I am in the 'About' screen, when I open the drawer menu, I find that the 'Contact Us' screen is still being highlighted.
NOTE: highlighted here means focused. As in when I click a menu, I have used the onFocused event to highlight that the menu is the active one by showing a different color or background on the menu.
satya164
djsnooppyzat De'poet: if the correct screen item isn't highlighted in the drawer, that sounds like a bug report rather than a feature request. so I'm closing this, please open a bug report in the repo with a repro to track it.
djsnooppyzat De'poet
satya164: Well, I thought it was a feature not implemented.