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

버튼 프로바이더의 높이 값을 제대로 측정하지 못하는 현상 수정 #98

Merged
merged 2 commits into from
Aug 10, 2024

Conversation

klmhyeonwoo
Copy link
Member

@klmhyeonwoo klmhyeonwoo commented Aug 9, 2024

버튼 프로바이더의 높이 값을 제대로 측정하지 못하는 현상 수정


🏄🏼‍♂️‍ Summary (요약)

  • 버튼 프로바이더의 높이 값을 제대로 측정하지 못하는 현상 수정을 했어요
  • min-height에서 height 값으로 단위를 변경했어요.

🫨 Describe your Change (변경사항)

  • src/layout/DefaultLayout.tsx

🧐 Issue number and link (참고)

📚 Reference (참조)

  • sticky 속성은 요소가 지정된 스크롤 위치에 도달할 때까지는 상대적인 위치를 유지하고, 도달한 이후부터는 고정된 위치에 머무르는 방식으로 동작을 해요. 현재 버튼 프로바이더의 스타일 요소를 통해 사용자에게 계속해서 노출되는 형태로 구성이 되어있지만, 높이 값을 제대로 계산하지 못하는 버그가 발생했어요.
  • 현재 min-height 으로 인해 봎이가 변동 가능하기 때문에, sticky의 동작이 예상치 못한 방식으로 영향을 받을 수 있고, 요소의 크기를 일정하게 유지하면서 sticky 속성의 일관된 UI를 위해 height으로 단위를 변경했어요

@leeminhee119
Copy link
Member

👍 고생하셨습니다 !!

Copy link
Collaborator

@donghunee donghunee left a comment

Choose a reason for hiding this comment

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

LGTM🍪

@klmhyeonwoo klmhyeonwoo merged commit 8e9c197 into develop Aug 10, 2024
1 check passed
@klmhyeonwoo klmhyeonwoo deleted the fix/75/fixScrollChaning branch August 10, 2024 14:33
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.

버튼 프로바이더의 sticky 속성이 제대로 적용되지 않는 현상
3 participants