WrappingHStack
WrappingHStack copied to clipboard
use NewLine's in looped WrappedHStacks
Change to address issue #38 - addresses the situation in ViewType init(rawView:)
where rawView
is wrapped as a _ConditionalContent
type (because of the presence of multiple conditional types in a loop's content builder) which causes it to fail the is NewLine
switch case.
I just started using this components and ran into this issue. @dkk , any interest in merging this and creating a new release? I might create a fork otherwise.
Thanks for this btw!
I appreciate the effort put into this PR, but I believe there might be a more elegant solution. I would prefer not to merge it at this time. Thank you for your understanding.