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.mjs CHANGED
@@ -428,6 +428,8 @@ function MenuItemComponent({
428
428
  const handleClick = () => {
429
429
  if (hasChildren) {
430
430
  if (collapsed) {
431
+ setUserToggled(true);
432
+ setIsOpen(true);
431
433
  onExpandRequest?.();
432
434
  } else {
433
435
  setUserToggled(true);