You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Check that this is a concrete bug. For Q&A open a GitHub Discussion.
Describe the bug
When I try to use useElementSize to layout a text element in SVG, I find that the
width.value/height.value
returned is always NaN.Maybe fixed by #3940
Reproduction
https://play.vueuse.org/#N4IgDghgxg1hDmBTAziAXAbVAOwgW0XRADcBXRAWgBNE8BLEAGhGQHtSAnKQtEU7MDHhMQNZFA50wAFzqtsRAGrkABABFadFQAoAFhAA2AMxV1sKgGIdE2KLoCUp5CogqaxRAdZgz8FaVkDOmkATxcDLwB3ZxD2FWlWFUjJaUQVAFVsOg8OZEMVZTSAGToAIw4ISRQVI1YOAtUAJhUAMhUAZhFOAyJdaWkwZDQAemH+QXgAOihWPGGyShp6YaDS4bMaAA9JvAArVABfRhx8HhAAAQXSZERh5H1rKhE2Tm4icaERMQkpWXkiADKD0QVAaiHSN38gWCdBQky6HB6vD6AyGow+Uxmc0u5Gut3ulRB5wAjAAGSbEyak9bYLY7fYgI4nAhEHGIPHDGbWZ7sLhnDFfFA-GRyBS8ADCrAiiCgf3MrBMKBu2Fk+UKKkleDArGQMPkGWhshQCKRIBRgxGYwEQmms2GbI5XMQJPJlOpG0Q2z2hwAuswjHQDMa0KAAIJgMCTBboUCpLUGCCpQGKADiKk8tBs0hczmklSQ2YV-huAFEgwQVQC6AAvRBoAA62AAPFRsiprEYALz1ljEeAAdQqEcQHB7KmQoSD3ZAkToVGkujQNWCFBmKqzPYAfI2VCom8g++3EF2ewf4GPZ-PdNOyaSwJsx9ee7f72PiLDIgAhVibaeklT-reKi3luO67nuqSbNmHbTpB0gAErHmOIQ3rQoHmOBu5NtIyCQNgm6NKSjQACzDMSjRkU2ww4Xh24YVh1GetIdEMWedFUa2xCbs8wrSEQdBanU2bAMWiBlpmlY1mkBw1BwswqAA5A6NycnUiAKY2AnahwwlHkYjBJImdgqDJRhyXgikLApADcjaNmuE7xExiEmJ2enaPYtm2PIbBBpMXjwNocEufY9k+bpl4LgZuiIHQ8B9CZKhuXi4kVtIVa1kFznHp5jaREZujaBgkW6NFsXxdIfo6MQjidpuKgOVKiD+awgU1QZIkCQQraJnW8QcKoBy5QoByjUAA
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: