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
Is your feature request related to a problem? Please describe.
I would like to be able to detect when a panel is being closed so I can either prevent it or save state.
Describe the solution you'd like
An onWillClose event handler passed in to component props alongside onDidActiveChange and others.
Describe alternatives you've considered
Tried to use closeActionOverride in a tab renderer and dispatching an event to the tab. The closest I could get was the following, which doesn't dispatch to the dom element pertaining to the rendered component:
Is your feature request related to a problem? Please describe.
I would like to be able to detect when a panel is being closed so I can either prevent it or save state.
Describe the solution you'd like
An
onWillClose
event handler passed in to component props alongsideonDidActiveChange
and others.Describe alternatives you've considered
Tried to use
closeActionOverride
in a tab renderer and dispatching an event to the tab. The closest I could get was the following, which doesn't dispatch to the dom element pertaining to the rendered component:eta: I have
defaultRenderer
set toalways
so the dom elements are outside of the scope of the event above.The text was updated successfully, but these errors were encountered: