-
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/BAR-139] Tooltip 컴포넌트 구현 #25
Conversation
@dmswl98 |
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.
😄 👍🏼
|
||
useEffect(() => { | ||
if (tooltipRoot) { | ||
document.body.appendChild(tooltipRoot); |
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.
@wonjin-dev @dongkyun-dev
저도 그렇게 생각해요..🥲
우선 merge 후에 새로운 PR에서
- DOM을 직접 조작하지 않는 Portal 공통 컴포넌트를 구현하고,
- Modal과 Tooltip 컴포넌트에 적용하는 작업을 이어서 하겠습니다!
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 머지해주시면 말씀하신 DOM 처리 부분은 모달 PR에서 수정해서 반영해볼까요?
@dongkyun-dev @wonjin-dev 추가로 작업한 부분은 |
고생하셧습니다 ㅎㅎ |
Summary
To Reviewers
z-index
token도 상수화해두었는데 값이 적절한지 확인해주세요.How To Test