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
Sorry for the delay...there's no prop callback, but when level 3 opens or closes it will actually set the lvl2MenuState._childPopupState after a tick. So you could set CSS based upon lvl2MenuState._childPopupState?.open ? valueIfOpen : valueIfClosed.
(Note: _childPopupState starts with an underscore because I didn't exactly intend for people to rely on it, but I can't stop you 😄)
I need to catch the state change of submenu level 3 to change CSS property of lvl2. Each has their own popupState.
Do we have a prop callback that whenever the popupState change we can trigger the function passed through?
The text was updated successfully, but these errors were encountered: