gov-layout 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -430,6 +430,8 @@ function MenuItemComponent({
430
430
  const handleClick = () => {
431
431
  if (hasChildren) {
432
432
  if (collapsed) {
433
+ setUserToggled(true);
434
+ setIsOpen(true);
433
435
  onExpandRequest?.();
434
436
  } else {
435
437
  setUserToggled(true);