Skip to content

Commit 88c8b4d

Browse files
fix(Menu): adjust initially drilled-in root menu height
1 parent f3613a6 commit 88c8b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-core/src/components/Menu/examples/MenuWithDrilldownInitialState.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const MenuDrilldownInitialState: React.FunctionComponent = () => {
1111
'initial-state-drilldownMenuStart'
1212
]);
1313
const [drilldownPath, setDrilldownPath] = useState<string[]>(['group:start_rollout', 'group:app_grouping']);
14-
const [menuHeights, setMenuHeights] = useState<any>({ 'initial-state-rootMenu': 216 }); // The root menu height must be defined when starting from a drilled in state
14+
const [menuHeights, setMenuHeights] = useState<any>({ 'initial-state-rootMenu': 186 }); // The root menu height must be defined when starting from a drilled in state
1515
const [activeMenu, setActiveMenu] = useState<string>('initial-state-drilldownMenuStartGrouping');
1616

1717
const drillIn = (

0 commit comments

Comments
 (0)