Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

서로 다른 SVG가 중복되어 보일 때 #3

Open
Bhanjo opened this issue Feb 18, 2023 · 0 comments
Open

서로 다른 SVG가 중복되어 보일 때 #3

Bhanjo opened this issue Feb 18, 2023 · 0 comments
Labels
Tip 개발 중 생긴 팁 공유

Comments

@Bhanjo
Copy link
Collaborator

Bhanjo commented Feb 18, 2023

[문제 상황]

캡처 (2)
다른 SVG인데 같은 이미지가 렌더링 되는 현상 발생

[원인]

SVG의 pattern 태그의 id가 동일해서 발생하는 문제

[해결 방법]

issue
SVG 내부 pattern의 id를 unique하게 부여
이때, pattern의 id를 바꾸고 나서 svg가 보이지 않는다면 rect와 같이 pattern의 id를 참조하는 곳의 정보를 일치시켜준다.

@Bhanjo Bhanjo added the Tip 개발 중 생긴 팁 공유 label Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tip 개발 중 생긴 팁 공유
Projects
None yet
Development

No branches or pull requests

1 participant