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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combine "layer visuals affecting" views #42
Labels
Comments
Samuel-IH
added a commit
to Samuel-IH/SwiftWebUI
that referenced
this issue
Sep 17, 2020
Samuel-IH
added a commit
to Samuel-IH/SwiftWebUI
that referenced
this issue
Sep 17, 2020
SwiftWebUI#42 (cherry picked from commit 777e1bb)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As mentioned in: #40
We currently have the issue that visual affecting views do not modify a single div, but result in multiple divs. So this:
Results in:
I think the solution is to have
.background
,.shadow
and the likes return a single "Style patching tree node".Important: Layout nodes like
.padding
or.frame
are different! They need to result in new divs because the ordering matters (or maybe they can combine if the ordering would lead to the same result). The old:The text was updated successfully, but these errors were encountered: