New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't set IFrame and SVG attributes #174
Comments
Hi @heimeshoff, The
As for the svg items it looks like those are missing. |
Hi @heimeshoff, indeed it looks like the svg properties are not all yet supported with Feliz. Until they become available, you can fallback to using the Html.svg [
prop.className "fill-current h-3 w-3"
prop.custom("viewBox", "0 0 20 20")
prop.custom("xmlns", "http://www.w3.org/2000/svg")
prop.children [
Html.path [
prop.custom("d", "M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z")
]
]
] |
Awesome, I'll use the workaround and check back in every now and then :) |
@heimeshoff Feel free to also send PRs adding the missing features 😉 these are more than welcome |
Could we leave this issue open? I don't want to lose track of the fact that we need to add these attributes. |
I created a separate issue to track this and any other missing SVG elements/attributes. |
Trying to implement Youtube Videos and SVGs on a website, yet can't set some properties:
The text was updated successfully, but these errors were encountered: