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
Thanks for the detailed report and sorry for the delayed reply! I assume that we can fix this by our layout code rewrite in #379, but there may be an easier fix. Unfortunately, I don't have an estimate for when I'll be able to investigate this in a detailed way. In the meantime, I'm happy to review PRs from other co-maintainers or contributors that fix this .
`DOMRenderer.mount` contains code which can be necessary to properly render spacers. However, `update` can overwrite what this code does, leading to the problem described in #395.
This PR modifies `update` to fix this issue.
Describe the bug
When using a combination of
ZStack
,VStack
andSpacer
, some views jump when changing to another tab and back again.To Reproduce
Steps to reproduce the behavior:
carton dev
Expected behavior
The text should remain outside the rectangle.
Screenshots
If this is a layout/rendering issue, please provide screenshots for both Tokamak and SwiftUI that highlight the difference.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
1616847509.zip
The text was updated successfully, but these errors were encountered: