Skip to content

The left part of the page is under the mini menu. #501

@ManWan888

Description

@ManWan888

if material-shall isMiniMode is true and isMenuOpen is false then left part of the page is under the mini menu

"base-shell": "^2.5.14",
"material-ui-shell": "^3.4.14",

In the file lib/container/Page/Page.js, it seems that the code does not handle isMiniMode is true and isMenuOpen false case.

/#PURE/_react["default"].createElement(_material.AppBar, {
position: isDesktop ? 'absolute' : undefined,
sx: {
width: isMenuOpen && isDesktop ? "calc(100% - " + width + "px)" : undefined,
zIndex: theme.zIndex['drawer'],
transition: theme.transitions.create(['width', 'margin'], {
easing: theme.transitions.easing.sharp,
duration: theme.transitions.duration.leavingScreen
}),
maxHeight: 64,
marginLeft: isRTL ? 0 : -12,
marginRight: isRTL ? 30 : 0
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions