Closed anilcngz closed 1 year ago
@anilcngz, did you manage to find a solution?
@anilcngz This is expected behavior IMO. I think if you want to display a settings page when the bottom
is clicked you should push a new route, one that doesn't contain a sidebar.
@GroovinChip Attached you can find the App Store app screenshot, it has a very similar design. When I click the bottom item, it behaves like side bar item.
@GroovinChip Attached you can find the App Store app screenshot, it has a very similar design. When I click the bottom item, it behaves like side bar item.
Apple unfortunately do not consistently follow their own guidelines across their app. Do you know of any other Apple (or other) apps that have this behavior on macOS?
I was using rize.io for a while, it also has a similar experience. But I couldn't find any other Apple (or other) apps with a bottom Menu Item.
If it's like this in the Apple guideline as you said, we can close this issue.
I was using rize.io for a while, it also has a similar experience. But I couldn't find any other Apple (or other) apps with a bottom Menu Item.
If it's like this in the Apple guideline as you said, we can close this issue.
That looks like a custom sidebar, not an Apple-guidelines sidebar. In fact, the guidelines don't appear to mention this paradigm at all. So IMO the bottom
should not be used to perform navigation to a view that a SidebarItem
is connected to.
Use case
There is no way to unselect a SideBarItem because we need to provide a currentIndex (It must be in the range of 0 to [items.length]). I think because of that when I add a Settings page by using bottom property as below and click on it, still SideBarItem is shown as selected.
Proposal