-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FEATURE] 바텀시트 컴포넌트 #18
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
document.body.style.cssText = | ||
"overflow-y: hidden; touch-action: none; -ms-touch-action: none; -webkit-overflow-scrolling: none; overscroll-behavior: none;"; | ||
} else { | ||
document.body.style.cssText = "overflow-y: overlay;"; |
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.
- [css-overflow-4] Do not remove overflow: overlay w3c/csswg-drafts#6090
- https://stackoverflow.com/questions/23200639/transparent-scrollbar-with-css/56365213#56365213
- https://caniuse.com/css-overflow-overlay
overflow-y: overlay의 사용이 사파리, 파폭에서는 제한적일 수 있겠네요. 인지정도만 하면 좋을 것 같아요 🤔
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.
으흠...!! 이 부분에 대해 좀 더 찾아보고 공유드리겠습니다 : )
const useOnClickOutside = <T extends HTMLElement>( | ||
ref: RefObject<T> | ForwardedRef<T>, | ||
handler: () => void, | ||
exceptEl?: HTMLElement | null |
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.
expectEl을 경험상 배열로 받을 수 있게하면 조금 더 확장성이 높더라구여(반영해야된다는 말은 아닙니다)
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.
오 맞네요!! 음!! 제가 이번주주말까진 너무 바빠서
뭔가 반영해야하는 이슈가 생기면 추후에 해보도록 해요!
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.
수고하셨습니다 👍
코멘트만 확인해주세요. 반영 요구사항들은 아니에요 고려만 해주세요.
Co-authored-by: Seungchan On <[email protected]>
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.
수고하셨습니다. 프리뷰 페이지로 보니 깔끔하네요!
해당 pr 머지 해주시면 적용해서 필터 pr 올릴게요
# Conflicts: # src/app/layout.tsx # src/styles/themes/foundations/fonts.ts
@jtwjs I Gotcha ! |
#12
사실 바텀시트(Drawer)의 경우 직접 제작하는 것보다 상용 라이브러리를 도입하는 것이 훨씬 간편하다고 판단했습니다만,
다양한 라이브러리 중 chakra-ui에서 제공하는 Drawer를 사용하고자 했는데, emotion을 기반으로 하는 라이브러리라서 styled-components를 사용하는 저희로써는 chakra-ui를 사용할 수가 없더라구요.
그래서 다른 UI 라이브러리를 찾아보고 논의해봐야할 것 같습니다만, 우선적으로 온보딩 페이지 개발을 위해서 UI 라이브러리 사용하지 않고 만든 바텀시트에 대한 PR을 올립니다 !
바텀시트에 대한 프리뷰는 다음 링크 참고바랍니다.