-
Notifications
You must be signed in to change notification settings - Fork 6
스페이스 수정 버튼을 클릭했을 때, 토글 메뉴가 뒤늦게 사라지는 현상 수정 #568
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
The head ref may contain hidden characters: "567-\uD1A0\uAE00-\uBA54\uB274-\uB4A4\uB2A6\uAC8C-\uC0AC\uB77C\uC9C0\uB294-\uD604\uC0C1-\uC218\uC815"
Conversation
- 데스크톱 모달 옵션 설정 시, 사이드 이펙트 수정
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
||
| const close = useCallback(() => { | ||
| setModalDataState({ ...modalDataState, isOpen: false }); | ||
| setModalDataState({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
모바일의 경우에는 옵션을 넣는 경우가 많지 않아서 발견을 못한 것 같은데, 데스크탑 모달에서 옵션을 넣고 다른 데스크톱 모달을 열면서 옵션 값이 유지되는 현상을 발견했어요! 그래서 초기화해주는 부분을 넣었습니다! (모바일은 조금 더 확인해보겠습니다)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵! 감사합니다!
prgmr99
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!! 고생하셨습니다~~
|
|
||
| const close = useCallback(() => { | ||
| setModalDataState({ ...modalDataState, isOpen: false }); | ||
| setModalDataState({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵! 감사합니다!
🏄🏼♂️ Summary (요약)
🫨 Describe your Change (변경사항)
close이벤트를 자동으로 붙이던 코드 제거 (사용자가 주입한onClose이벤트만 들어가도록 수정🧐 Issue number and link (참고)
📚 Reference (참조)