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
Ok I tried to uncomment the element and it works. It posted the PR on main but I am still interested in learning how to workaround this issue with the 0.4.3.
fnmain(){
dioxus_desktop::launch(App);}fnApp(cx:Scope) -> Element{
cx.render(rsx!(// both the following create an empty main div
svg{SvgImage{}}SvgImage{}// some other combination with image{} tag do not compile))}
Specific Demand
It is not possible to add an
image
element under asvg
element.Also is there any way to make it work with the 0.4.3? I could not find any example on how to create a custom element:
The text was updated successfully, but these errors were encountered: