-
Notifications
You must be signed in to change notification settings - Fork 6
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/home article modal #8
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ct_instagram_clone into develop
Open
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
모달 레이아웃 작업
home 브랜치에서 모달 쪽 기능을 구현하기 위해 분기된 브랜치입니다.
아래 이슈의 todo를 기반으로 구현 중인데, 모달 안에 모달 같은 추가 모달이 계속 나와서 좀 애를 먹고 있습니다.
ModalCard
modalType: "positioned | withBackDrop
으로 두 가지 모달 wrapper를 모두 포함한 UI를 만들었습니다.getBoundingClientRect()
메서드로 현재 위치를 prop으로 전해주면 이를 기반으로 모달의 위치를 결정합니다.ReactDOM.createPortal
로 다른 root에 뜨도록 하였습니다.HoverModal("positioned")
username에 hover(mouseEnter)했을 때 나오는 유저의 요약본이 담긴 모달입니다.
FollowingModal("withBackDrop")
팔로잉을 취소할지 말지 고르는 모달입니다
ArticleMenuModal("withBackDrop")
... 클릭 시 나오는 전반적인 article 관련 메뉴 입니다.
분기 전 branch: home
이 브랜치는 home의 코드를 포함하고 있습니다. home에서는 전체적인 레이아웃을 대략 구현해놓고, 이 브랜치처럼 하나씩 하나씩 기능을 구현해 머지해나갈 생각입니다.
#7
#9