What happened?
When exporting arrows, I get these spammed in console. I'm not 100% sure what they are, but it does seem like the export I'm doing is rendering fine. I see the same issue happens on tldraw.com.
Error: <foreignObject> attribute width: A negative value is not valid. ("-8.5")
For us it specifically happens when you call
const exported = editor.getSvgElement(<shapes that includes arorow>)
and then
exported.svg.cloneNode(true)
Can you have a look at this?
How can we reproduce the bug?
- Create arrow
- Export it
What browsers are you seeing the problem on?
Chrome
Where did this happen?
The tldraw.com website
Contact Details
No response
Code of Conduct