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

스크롤 방향에 따라 GNB UI 노출/숨김 #342

Merged
merged 2 commits into from
Nov 5, 2023

Conversation

mjsdo
Copy link
Collaborator

@mjsdo mjsdo commented Nov 5, 2023

Issues

구분

  • 버그 수정
  • 기능 추가
  • 코드 리팩터링
  • 문서 업데이트
  • 기타

주요 변경점

  • 스크롤 내릴 때 GNB UI 숨김, 올릴 때 노출
  • 숨길 때는 상단 10px은 여전히 보여줌 (GNB가 없는 페이지와의 구분을 위해)
  • 상단 10px에 마우스 hover시 일시적으로 GNB 노출. 스크롤 방향이 바뀌지 않았다면 마우스 unhover할 때 GNB 다시 숨김

@mjsdo mjsdo self-assigned this Nov 5, 2023
Copy link

vercel bot commented Nov 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ssaf-sound-fe 🛑 Canceled (Inspect) Nov 5, 2023 9:20am

@mjsdo mjsdo merged commit 419ffa1 into main Nov 5, 2023
@mjsdo mjsdo deleted the feature/hide-gnb-on-scroll-#341 branch November 5, 2023 09:30
@mjsdo mjsdo mentioned this pull request Nov 5, 2023
5 tasks
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.

1 participant