[Bugfix Repro] 차트 높이 무한 늘어남 버그 수정#15
Open
seongbin9786 wants to merge 4 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
원인
min-height: auto가 기본이므로, 최소 높이가 content 높이해결 방법
min-height: 0;을 추가해서auto동작을 제거해서 무한 루프를 제거해야 함. 이 때 모든 조상에서 설정해줘야 함ResponsiveContainer의min-h-0: ResponsiveContainer의 부모가 flex여서 필요min-h-0: ResponsiveContainer 부모의 부모이고, 해당 요소의 부모가 flex여서 필요배운 점
flex/grid에서min-height: auto가 기본값이라는 점.