feat/#121-mobile-viewport-height 모바일 환경에 맞게 view height 개선#122
Merged
feat/#121-mobile-viewport-height 모바일 환경에 맞게 view height 개선#122
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
100vh fallback과 100dvh를 사용하여 모바일 브라우저의 동적 뷰포트 높이를 올바르게 처리합니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
가상 키보드가 올라올 때 visual viewport만 리사이즈되도록 설정하여 모바일 입력 시 레이아웃 깨짐을 방지합니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
모든 페이지 컴포넌트에서 min-h-screen 대신 dvh 기반의 min-h-screen-safe를 사용하도록 변경합니다. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
yejinleee
approved these changes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚩 연관 이슈
closed #121
📝 작업 내용
🐛 어떤 문제가 있었나요?
모바일 브라우저(Safari, Chrome 등)에서 주소창/하단 네비게이션 바가 표시되면
100vh가 실제 화면보다 커져서 콘텐츠가 잘리거나 스크롤이 의도치 않게 발생하는 문제가 있었습니다.특히 아래 상황에서 문제가 두드러졌습니다:
✅ 어떻게 해결했나요?
1.
min-h-screen-safe유틸리티 클래스 추가100dvh는 모바일 브라우저의 주소창/하단 바 상태에 따라 동적으로 변하는 실제 뷰포트 높이를 반환합니다.100vhfallback으로 미지원 브라우저도 대응합니다.2. Viewport 메타데이터에
interactiveWidget설정가상 키보드가 올라올 때 visual viewport만 리사이즈되도록 설정하여, 키보드로 인한 레이아웃 밀림을 방지합니다.
3. 전체 페이지에
min-h-screen→min-h-screen-safe일괄 적용모든 페이지 컴포넌트(9개 파일)에서
min-h-screen을min-h-screen-safe로 변경했습니다.📁 변경 파일 요약
src/app/globals.cssmin-h-screen-safe유틸리티 클래스 추가src/app/layout.tsxviewportexport 추가 (interactiveWidget: 'resizes-visual')src/app/page.tsxmin-h-screen→min-h-screen-safesrc/app/[meetingId]/page.tsxmin-h-screen→min-h-screen-safesrc/app/meet/[meetingId]/page.tsxmin-h-screen→min-h-screen-safesrc/features/meet-create/ui/MeetCreatePage.tsxmin-h-screen→min-h-screen-safesrc/features/meet-create-date/ui/DateSelectPage.tsxmin-h-screen→min-h-screen-safesrc/features/participant-register-name/...min-h-screen→min-h-screen-safesrc/features/participant-register-date/...min-h-screen→min-h-screen-safesrc/features/participant-edit-name/...min-h-screen→min-h-screen-safesrc/features/participant-edit-date/...min-h-screen→min-h-screen-safe🗣️ 리뷰 요구사항 (선택)