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

[Feat] Navigation Block 팝업 커스텀 구현 #193

Merged
merged 7 commits into from
Aug 22, 2024

Conversation

jhj2713
Copy link
Member

@jhj2713 jhj2713 commented Aug 22, 2024

🖥️ Preview

스크린샷 2024-08-22 오후 4 11 52

close #191

✏️ 한 일

  • Navigation Block 팝업 커스텀 구현

❗️ 발생한 이슈 (해결 방안)

기존에는 usePrompt를 사용해서 window 기본 confirm 창 기반으로 뒤로가기를 방지했지만 기본 confirm 창보다는 커스텀한 Popup이 나을 것이라고 판단해 useBlocker를 사용해서 커스텀을 진행했습니다.

NavigationConfirmPopUp이 생기면서 기존의 PopUp의 역할이 구체적으로 명시되는게 좋을 것 같아서 PhoneNumberPopUp으로 컴포넌트 명을 수정했습니다.

❓ 논의가 필요한 사항

@jhj2713 jhj2713 added the feat 기능 구현 label Aug 22, 2024
@jhj2713 jhj2713 requested a review from sooyeoniya August 22, 2024 07:13
@jhj2713 jhj2713 self-assigned this Aug 22, 2024
Copy link

빌드를 성공했습니다! 🎉

Copy link
Member

@sooyeoniya sooyeoniya left a comment

Choose a reason for hiding this comment

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

오 좋아요!! 너무 예뻐용 ~~ 주자이너 등장!

@sooyeoniya sooyeoniya merged commit 138a0ab into dev Aug 22, 2024
2 checks passed
@jhj2713 jhj2713 deleted the feat/#191-block-popup branch August 23, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 기능 구현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

뒤로가기 시 등장하는 Block Modal 커스텀
2 participants