-
Notifications
You must be signed in to change notification settings - Fork 1
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
refactor: useDropDown() 훅을 Radix UI의 Popover 컴포넌트로 리팩토링 #10
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
늦은 리뷰 죄송합니다 ㅠㅠ 드롭다운 메뉴는 항상 아래로 펼쳐지는 건가요? 스크롤이 생기는 기준도 궁금합니다!
스크롤 되는게 이 프로젝트 웹뷰 환경에서 괜찮은 경험일지 확인만 부탁드려요 |
오 지금 확인해보니 아래로 펼쳐질 충분한 공간이 없으면 위로 펼쳐지네요. Radix UI에서 알아서 처리를 해주는 것 같네요. |
엄.. 일단 디자인 나온대로 구현한거라 배포한다음 테스트를 해보는게 좋을 것 같네요 |
배포한 다음 테스트하는거보다 그냥 바로 디자인팀에 넛지 날리는게 더 리소스 적게들 수 있어요 |
#️⃣연관된 이슈
📝작업 내용
useDropDown()
훅을 Radix UI의Popover
컴포넌트로 리팩토링 했습니다.Popover
컴포넌트는 AppScreen's height calculated as 0 when used with Radix UI Dropdown Menu daangn/stackflow#570 에서 언급한document.body
에position: relative
를 추가하는 동작이 없어서 액티비티가 정상적으로 잘 보이는 것 같습니다Popover
컴포넌트로 교체하니 키보드 네비게이션도 사용할 수 있어서 좋네요👍2025-02-06.4.09.20.mov