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

[FEATURE] 바텀시트 컴포넌트 #18

Merged
merged 4 commits into from
Apr 14, 2023
Merged

Conversation

createhb21
Copy link
Member

@createhb21 createhb21 commented Apr 7, 2023

#12

사실 바텀시트(Drawer)의 경우 직접 제작하는 것보다 상용 라이브러리를 도입하는 것이 훨씬 간편하다고 판단했습니다만,

다양한 라이브러리 중 chakra-ui에서 제공하는 Drawer를 사용하고자 했는데, emotion을 기반으로 하는 라이브러리라서 styled-components를 사용하는 저희로써는 chakra-ui를 사용할 수가 없더라구요.

그래서 다른 UI 라이브러리를 찾아보고 논의해봐야할 것 같습니다만, 우선적으로 온보딩 페이지 개발을 위해서 UI 라이브러리 사용하지 않고 만든 바텀시트에 대한 PR을 올립니다 !

바텀시트에 대한 프리뷰는 다음 링크 참고바랍니다.

@createhb21 createhb21 added the ✨ Feat 기능 개발, 기능 수정, CSS 포함 label Apr 7, 2023
@createhb21 createhb21 self-assigned this Apr 7, 2023
@createhb21 createhb21 requested review from jtwjs and onschan as code owners April 7, 2023 02:17
@vercel
Copy link

vercel bot commented Apr 7, 2023

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

Name Status Preview Comments Updated (UTC)
ahachul-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 14, 2023 8:16am

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;";
Copy link
Contributor

Choose a reason for hiding this comment

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

overflow-y: overlay의 사용이 사파리, 파폭에서는 제한적일 수 있겠네요. 인지정도만 하면 좋을 것 같아요 🤔

Copy link
Member Author

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
Copy link
Contributor

@onschan onschan Apr 12, 2023

Choose a reason for hiding this comment

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

expectEl을 경험상 배열로 받을 수 있게하면 조금 더 확장성이 높더라구여(반영해야된다는 말은 아닙니다)

Copy link
Member Author

Choose a reason for hiding this comment

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

오 맞네요!! 음!! 제가 이번주주말까진 너무 바빠서
뭔가 반영해야하는 이슈가 생기면 추후에 해보도록 해요!

Copy link
Contributor

@onschan onschan left a comment

Choose a reason for hiding this comment

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

수고하셨습니다 👍
코멘트만 확인해주세요. 반영 요구사항들은 아니에요 고려만 해주세요.

Copy link
Contributor

@jtwjs jtwjs left a 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
@createhb21 createhb21 changed the title feat: add BottomSheet Drawer component [FEATURE] 바텀시트 컴포넌트 Apr 14, 2023
@createhb21 createhb21 merged commit f48dd72 into develop Apr 14, 2023
@createhb21 createhb21 deleted the feat/bottomSheet-component branch April 14, 2023 08:16
@createhb21
Copy link
Member Author

createhb21 commented Apr 14, 2023

@jtwjs I Gotcha !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feat 기능 개발, 기능 수정, CSS 포함
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants