일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 문제해결
- DOM
- 화살표2개
- accordian
- vite
- 조건부스타일
- alias설정
- 제어컴포넌트
- tailwindCSS
- react
- QueryClient
- ?? #null병합연산자
- 부모패딩
- ㅡ
- CustomHook
- twoarrow
- useQueryClient
- createPortal
- BFC
- Carousel
- ignore padding
- 서초구보건소 #무료CPR교육
- transition
- es6
- 리액트
- parent padding
- BlockFormattingContext
- 부모요소의 패딩 무시
- debouncing
- 함수형프로그래밍
Archives
- Today
- Total
목록createPortal (1)
프론트엔드 첫걸음
modal을 portal
위와 같은 위치의 모달이 있다. 이 모달은 제대로 동작하나 이는 시멘틱한 구조가 아니라고 한다. 중첩을 방지하기 위해서 모달 HTML 을 가능하면 최상위에 두라고 한다. Whenever possible, place your modal HTML in a top-level position to avoid potential interference from other elements. You’ll likely run into issues when nesting a .modal within another fixed element. 가능하면 모달 HTML을 최상위 위치에 배치하여 다른 요소의 잠재적인 간섭을 방지하세요. 다른 fixed 스타일을 갖는 요소 내에 중첩할 때 문제가 발생할 수 있습니다 . https:/..
개발 공부/React
2022. 7. 24. 03:56