Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

모바일 화면: 좌측 메뉴 모달에서 메뉴 클릭시 모달이 닫히지 않음 #22

Closed
ucharles opened this issue Mar 27, 2022 · 1 comment
Assignees
Labels
bug Something isn't working frontend invalid This doesn't seem right

Comments

@ucharles
Copy link
Owner

현상

모바일 화면 상태에서, 좌측 메뉴 모달의 메뉴를 클릭 시 모달이 닫히지 않음
원래는 메뉴 클릭 시 모달이 닫혀야함.

해결책

이하의 공식문서를 참조하여 메뉴(MyMenu) 코드를 수정할 것
(현재는 MUI의 List를 이용해 구성되어 있음)
https://marmelab.com/react-admin/doc/4.0/Theming.html#using-a-custom-menu

export const Menu = (props) => (
    <Menu {...props}>
        <DashboardMenuItem />
        <MenuItemLink to="/posts" primaryText="Posts" leftIcon={<BookIcon />}/>
        <MenuItemLink to="/comments" primaryText="Comments" leftIcon={<ChatBubbleIcon />}/>
        <MenuItemLink to="/users" primaryText="Users" leftIcon={<PeopleIcon />}/>
        <MenuItemLink to="/custom-route" primaryText="Miscellaneous" leftIcon={<LabelIcon />}/>
    </Menu>
);```
@ucharles ucharles added bug Something isn't working invalid This doesn't seem right frontend labels Mar 27, 2022
ucharles added a commit that referenced this issue Apr 11, 2022
#22 <List> → <Menu>로 변경, 캘린더 리스트 가변형으로 변경
@ucharles
Copy link
Owner Author

<MenuItemLink>의 적용으로 해당 버그 해결. Close 하겠습니다.
관련 이슈 #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants