Skip to content

[Fix] #668 - 피드 상세 내 StackView spacing 오류 해결#669

Merged
Guryss merged 3 commits intodevelopfrom
Fix/#668
Feb 16, 2026
Merged

[Fix] #668 - 피드 상세 내 StackView spacing 오류 해결#669
Guryss merged 3 commits intodevelopfrom
Fix/#668

Conversation

@Guryss
Copy link
Copy Markdown
Member

@Guryss Guryss commented Feb 16, 2026

⭐️Issue


🌟Motivation

피드 상세 내 StackView Spacing 관련한 레이아웃 문제를 해결했습니다.

🌟Key Changes

조건부 UI 처리 방식 개선

기존 insertArrangedSubview / removeFromSuperview 방식을 제거했습니다.
isHidden 기반으로 조건부 UI 제어하도록 구조를 변경했습니다.

StackView Spacing 규칙 재정의

기본 spacing을 30으로 통일하고,
다음 조건에 따라 customSpacing 적용하도록 했습니다.

  • 첨부 이미지 + 연결 작품이 모두 존재할 경우 → 이미지 뒤 spacing 16

  • reactView 뒤 spacing은 항상 10 유지

applySpacing() 함수로 spacing 로직을 일원화했습니다.
customSpacing 값이 누적되지 않도록 매 바인딩 시 초기화 로직 추가했습니다.

Result

StackView spacing이 의도한 디자인 스펙에 맞게 안정적으로 동작하도록 했습니다.
제약 충돌 및 spacing 비정상적으로 축소되는 현상 해결했습니다.

🌟Simulation

Simulator Screen Recording - iPhone 17 Pro - 2026-02-16 at 23 01 58 Simulator Screen Recording - iPhone 17 Pro - 2026-02-16 at 23 01 42 Simulator Screen Recording - iPhone 17 Pro - 2026-02-16 at 23 01 23

🌟To Reviewer


🌟Reference


@Guryss Guryss merged commit e2c1787 into develop Feb 16, 2026
@Guryss Guryss deleted the Fix/#668 branch February 16, 2026 14:06
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.

[Fix] 피드상세>작품상세 다시 되돌아오면 연결작품 블록 순서가 바뀌는 문제

1 participant