Skip to content

Conversation

@klmhyeonwoo
Copy link
Member

@klmhyeonwoo klmhyeonwoo commented Oct 12, 2025

스페이스 수정 버튼을 클릭했을 때, 토글 메뉴가 뒤늦게 사라지는 현상 수정


🏄🏼‍♂️‍ Summary (요약)

  • 스페이스 수정 버튼을 클릭했을 때, 다른 곳을 클릭해야 토글 메뉴가 사라지던 현상을 수정했어요
  • 데스크톱 모달에서 옵션 설정 시, 버튼 텍스트가 노출되지 않는 현상을 수정했어요

🫨 Describe your Change (변경사항)

  • apps/web/src/component/common/Modal/DesktopModal/DesktopModal.tsx
    • 데스크톱 모달에서 옵션 설정 시, 버튼 텍스트가 정상적으로 노출되지 않던 현상 수정
    • 취소 버튼에 close 이벤트를 자동으로 붙이던 코드 제거 (사용자가 주입한 onClose 이벤트만 들어가도록 수정
  • apps/web/src/component/space/edit/SpaceManageToggleMenu.tsx
    • 스페이스 수정 버튼 클릭 시, 토글 메뉴가 같이 사라지도록 수정

🧐 Issue number and link (참고)

📚 Reference (참조)

  • 데스크톱 모달 옵션 설정 시, 사이드 이펙트 수정

@klmhyeonwoo klmhyeonwoo self-assigned this Oct 12, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 12, 2025

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • Not Rabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 567-토글-메뉴-뒤늦게-사라지는-현상-수정

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.


const close = useCallback(() => {
setModalDataState({ ...modalDataState, isOpen: false });
setModalDataState({
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

모바일의 경우에는 옵션을 넣는 경우가 많지 않아서 발견을 못한 것 같은데, 데스크탑 모달에서 옵션을 넣고 다른 데스크톱 모달을 열면서 옵션 값이 유지되는 현상을 발견했어요! 그래서 초기화해주는 부분을 넣었습니다! (모바일은 조금 더 확인해보겠습니다)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵! 감사합니다!

Copy link
Member

@prgmr99 prgmr99 left a 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({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵! 감사합니다!

@klmhyeonwoo klmhyeonwoo merged commit 99b7d2c into develop Oct 12, 2025
3 checks passed
@klmhyeonwoo klmhyeonwoo deleted the 567-토글-메뉴-뒤늦게-사라지는-현상-수정 branch October 12, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants