Open
Conversation
- processNodeStyles에서 padding shorthand/longhand 동시 사용 방지 - 에디터 페이지 최상위 컨테이너에 overflow-hidden 적용 - 좌우 사이드바 스크롤바 숨김 (scrollbarWidth: none)
b247ad5 to
c06f0cb
Compare
This file contains hidden or 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
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.
구현 핵심 내용
1. Portal 방식의 오버레이 도입 (SelectionOverlay.tsx)
2. nodes 인접 리스트 인덱싱 도입 (트리 탐색 성능 O(n) ->O(1)로 개선)
도입한 자료구조
기존:
개선 후:
결론: 트레이드오프
3-1. Fixed, Relative, Fill, Fit Content 기능 도입
3-2. FlowNodeWrapper 도입 (기존의 EditorNodeWrapper와 대비)
const isFlowItem = parent?.type === "Stack" && node.style.position === "relative";향후 구현 방향
1. Reorder 방식의 장점 (vs react-rnd)
성능: framer-motion은 레이아웃 프로젝션 기술을 사용해 매우 부드러운 60fps 애니메이션을 제공합니다.
2. 고려해야 할 단점 (제약 사항)
파일 변경 사항
scrollbarWidth: 'none'추가사이징/레이아웃 관련 비즈니스 로직 파일