-
-
Notifications
You must be signed in to change notification settings - Fork 833
Description
Stencil version:
@stencil/core@0.16.0-6
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
as described the svg viewBox is lowercase causing the svg to be incorrectly rendered
Expected behavior:
viewBox to be rendered with the correct case
Steps to reproduce:
Create a component lib with a component containing an SVG and a valid viewBox attribute
Create a host app with no SVG's
use the component in the host
Other information:
This is a known issue
https://github.com/ionic-team/stencil/blob/02372919d480e50109384ec059970b237b2d0939/src/compiler/transpile/transpile-app.ts#L41
Work Around: add an SVG to the host app