fix: 확장 원샷 모프·오버레이 몰입 탭 토글·후기 바운스 블러 동기화#194
Merged
Merged
Conversation
- 게시글 확장이 2단계로 끊겨 보이던 문제: 원인은 (1) 앱바 오버레이 아이콘들이 카드 크로스페이드 중간(t≈0.5)에 콘텐츠와 함께 불쑥 나타나 단계 전환 신호를 만들고, (2) _state.init() 의 로드 알림들이 확장 모프 중 화면 전체를 리빌드해 프레임을 흔든 것. CollapseSettledFade(모션 공용) 로 앱바 아이콘을 전환 안착 후 페이드 인시키고, 카드 확장 진입 시 초기 로드를 안착 뒤로 지연(직진입은 즉시) — 후기 상세와 같은 원샷 모프. - 오버레이 몰입 탭 토글(신규): 사진 게시글·후기 사진 페이지에서 화면 탭 → 블러 패널·앱바 아이콘·인디케이터가 부드럽게 숨고 다시 탭으로 복귀. 영상 탭은 기존 재생/일시정지 유지(제외). 숨김 중 축소를 시작하면 오버레이가 페이드 인으로 복귀하며 카드 미러로 수축(게시글). 후기는 숨김 상태로 영상 페이지 진입 시 자동 복귀(되살릴 탭이 없는 함정 방지). 본문 펼침 상태는 숨김/복귀와 무관하게 유지. - 후기 스와이프 바운스 시 블러 분리: PageController.page 가 픽셀을 스크롤 범위로 클램프해 오버스크롤을 반영하지 못하던 것 — 픽셀/뷰포트로 직접 계산해 범위 밖 fractional page 까지 본체와 픽셀 동기로 추종(클램프는 사본 선택 인덱스에만). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
실기기 피드백 3건 반영.
1. 게시글 확장 2단계 끊김 → 원샷 모프
진단
후기 상세와 게시글 상세의 확장 경로를 비교한 결과, 전환 구현 자체(윈도 rect 보간·커브)는 동일했고 차이는 두 가지:
isMyPost는 동기값이라 상태 로드 때문에 늦게 나타나는 것은 아니었음._state.init()이 댓글·조회수·팔로우·권한·모드 로드를 즉시 시작하고, 각notifyListeners가 확장 모프 중ListenableBuilder아래 화면 전체를 리빌드(RepaintBoundary 캐시 무효화)해 프레임 히치를 만들었다.수정
CollapseSettledFade추가(collapse_route.dart): 확장 전환이 안착(진행도 1)한 뒤에만 페이드 인, 전환·축소 중엔 숨김(카드에 없는 요소가 모프에 섞이지 않게). 게시글·후기 상세의 앱바 아이콘에 적용._state.init()을 전환 안착 뒤(480ms)로 지연 — 게시글 본문은widget.post로 이미 완전해 첫 프레임 표시에 영향 없음. 직진입(딥링크)은 즉시.2. 오버레이 몰입 탭 토글 (신규)
CollapseSettledFade.visible), 후기 1/N 인디케이터. 영상 페이지/영상 게시글의 탭은 기존 재생/일시정지 유지(토글 없음)._overlayHidden을 해제해 드래그 취소로 돌아와도 보이는 상태.3. 후기 바운스(오버스크롤) 블러 분리
PageController.page는 내부적으로 픽셀을 스크롤 범위로 클램프해, 첫/마지막 페이지의 바운스 오버스크롤 구간에서 값이 멈춘다 → 본체는 손가락을 따라 밀리는데 블러는 정지.position.pixels / viewportDimension으로 fractional page 를 직접 계산해 범위 밖 값까지 그대로 반영 — 본체 PageView 와 바운스까지 픽셀 동기. 클램프는 사본 선택 인덱스에만 유지(translate 오프셋에는 미적용).검증
flutter analyze새 이슈 0,dart format적용flutter build ios --no-codesign --debug성공판단 사항
🤖 Generated with Claude Code