You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our application, by default, two panels are used. But on pressing the button of an event one more panel is added.
Panel sizes are also saved in store mobx.
When the component is loaded in the store for the first time, the panelWidths array is saved using onUpdate , but when after that I try to call another panel on click, I get an error
<PanelGroup
onUpdate={(e: Array<any>) => { // when updating panels, write update state
accountStore.setSizesPanel(e);
}}
panelWidths={accountStore.panelWidthsSettings} // read state from store
>
<Panel0 / >
{accountStore.isVisibleCustomPanel() ? <Panel1 /> : null}. // appears on user click
<Panel2 />
</PanelGroup>
The text was updated successfully, but these errors were encountered:
In our application, by default, two panels are used. But on pressing the button of an event one more panel is added.
Panel sizes are also saved in store mobx.
When the component is loaded in the store for the first time, the panelWidths array is saved using onUpdate , but when after that I try to call another panel on click, I get an error
The text was updated successfully, but these errors were encountered: