-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
A-svgArea: SVG supportArea: SVG supportC-bugCategory: bug, something isn't workingCategory: bug, something isn't workingS-actionableActionableActionable
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Run code:
use sycamore::prelude::*;
#[component]
fn Test<T: Html>() -> View<T> {
view! {
svg(width="100", height="100") {
rect(width="100%", height="100%", fill="blue")
(view! { rect(width="50%", height="50%", fill="red") })
}
}
}
fn main() {
sycamore::render(Test);
}
Expected behavior
Interpolated to render the same as non-interpolated
Environment
- Sycamore: 0.9.0-beta.1
- Browser: Chrome
- OS: Windows
Additional context
Interpolated and non-interpolated SVG results in identical DOM, so it seems strange that it does not show on screen
Metadata
Metadata
Assignees
Labels
A-svgArea: SVG supportArea: SVG supportC-bugCategory: bug, something isn't workingCategory: bug, something isn't workingS-actionableActionableActionable