issues
search
YAPP-16th
/
Team_Web_2_Client
찾아Zone🧭
http://34.64.125.7
1
stars
3
forks
source link
모달 컴포넌트
#82
Closed
AnGwangHo
closed
4 years ago
AnGwangHo
commented
4 years ago
Modal Compoent개발
기능정의
화면 최상단에 위치
content의 경우 container를 인자로 받아 사용자에게 보여 줌
다른 곳 클릭 시 닫히는 기능
Modal Show한 경우 다른 Modal 미 허용
개발
z-index대신 style position fixed사용
1개만 존재하기 위해서 초기 로딩 시 모달 컴포넌트를 로드 후 container만 변경하는 형식으로 사용
container의 경우 어디서든 호출 할 수 있게 전역에서 state관리하는 방식으로 개발
state : container, show유/무
Modal Compoent개발
기능정의
개발