react-lightning-design-system icon indicating copy to clipboard operation
react-lightning-design-system copied to clipboard

Enhance DropdownMenu Component to Control Nested Submenu Visibility

Open kosuke-k opened this issue 1 year ago • 1 comments

Overview

The DropdownMenu component could not control the opening and closing of nested submenus, and when switching between submenus, the original menu remained open. When a submenu is switched, the original menu should be closed and the newly clicked menu should be opened.

What I Did

  • Manage the opening and closing of all menus with objects
  • Move state management to parent component and pass it to child components in context

kosuke-k avatar Jul 03 '24 08:07 kosuke-k

:sparkles::sparkles: That's perfect, there is no visual difference! :sparkles::sparkles:

Check out the report here.

reg-suit[bot] avatar Jul 03 '24 09:07 reg-suit[bot]