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
Currently, the Submenu component manages its own open/close state internally with useState. This makes it impossible to programmatically open or close the submenu from a parent component.
Expected Change: Allow Submenu open state to be controlled externally via props (open, onToggle).
Activity
dathoang1412 commentedon Oct 3, 2025
or we only need to add a defaultOpen property, tysm