Expected behavior
WrappingHStack would treat individual Text views as separate elements and provide spacing between them.
Screenshots
Screenshot of code above:
Context:
WrappingHStack version: 2.2.1
Model: iPhone SE (2020) (simulator)
OS: iOS15.2
Additional context
I understand that is a very quirky and specific edge case, but I thought I should report it just in case. I really wish Apple provided a native view for this. Coming from a web background, it seems really odd that iOS doesn't have something as comprehensive as CSS's flexbox.
Thank you for making this project! This package is such a lifesaver.
Describe the bug WrappingHStack treats the
Group
view as one view instead of its children.To Reproduce Steps to reproduce the behavior:
.padding(...)
is used because of:17
Expected behavior WrappingHStack would treat individual
Text
views as separate elements and provide spacing between them.Screenshots Screenshot of code above:
Context:
Additional context
I understand that is a very quirky and specific edge case, but I thought I should report it just in case. I really wish Apple provided a native view for this. Coming from a web background, it seems really odd that iOS doesn't have something as comprehensive as CSS's
flexbox
.Thank you for making this project! This package is such a lifesaver.