Skip to content

support for SVG elements #94

Answered by ZeeCoder
khusamov asked this question in Q&A
Apr 24, 2022 · 9 comments · 1 reply
Discussion options

You must be logged in to vote

Not 100% sure, the ResizeObserver spec around SVGs is a bit weird.

Here's some stuff I found, hope it helps:

Also I wonder if you could just wrap your SVG in a div and measure that instead?
Might help you depending on your exact use-case.

Replies: 9 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@khusamov
Comment options

Answer selected by ZeeCoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #91 on May 24, 2022 22:06.