Hi, is it possible to open the “Tab Panel” in the a12 client in collapsed mode? Configuration options are “minimized”, “maximized” and undefined as far as I can see, and none of those show the panel in it’s collapsed state initially. You always have to close the panel manually.
subExpanded is a property of FrameViews.SidebarContext and can not be set in the appmodel but only using React.useContext inside a functional component, therefore only during rendering. I can therefore not set an initial state using that.
In my opinion it should be sufficient to set subExpanded to false after the first render using React.useEffect and an additional flag, that tracks, if the component has already been initialized.
I enhanced the application frame layout example in our sample application accordingly. You can check out the code [here]<INTERNAL_LINK>