In this case, because you can control the Menu state from outside the component, the Anchorsubcomponents works just like an Anchor, that means the Menu is displayed based on the location of the Anchor.
Anchor
Menu
Last updated 2 years ago