-
-
Notifications
You must be signed in to change notification settings - Fork 832
Closed
Labels
Description
Stencil version:
@stencil/core@1.3.0
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request
Current behavior:
svg's viewBox attribute is lowercase causing the svg's size set to 0x0
Expected behavior:
viewBox attribute not set to 'viewbox'
Steps to reproduce:
https://github.com/aztack/functional-svg-bug
Related code:
// insert any relevant code hereOther information:
There should be a white arrow before Buttons.
I searched the issues and found #1247 which is marked 'fixed'.
But, if I put a svg tag inside the render function, it will be rendered correctly:
Maybe it's hard to detect that one component is using a functional component which contains svg tag.
What about give compiler a hint hasSvg:
@Component({
hasSvg: true
});Reactions are currently unavailable

