fix: preventCollision 동작 수정 및 문서화 #14
Open
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.
개요
preventCollision
옵션의 동작을 React Grid Layout의 원본 동작과 일치하도록 수정하고, 상세한 문서를 추가했습니다.변경사항
1. 기능 수정
preventCollision=true
일 때 static 아이템과의 충돌만 방지preventCollision=true
일 때 모든 아이템(static + 일반)과의 충돌 방지src/components/GridContainer.tsx
(226-232줄)2. 문서 추가
PREVENT_COLLISION_GUIDE.md
: preventCollision 옵션의 상세 가이드3. Storybook 데모 추가
stories/PreventCollision.stories.tsx
: 시각적 동작 확인용 데모테스트
참고사항
🤖 Generated with Claude Code