Skip to content

Fix Group behaviour in ZStacks #158

Open
@stackotter

Description

@stackotter

Groups in ZStacks should lay out their children along the z axis but will default to the orientation of the ZStack's container instead.

Fixing this will involve:

  1. Adding the z axis to the Orientation enum.
  2. Updating Group to support this new orientation.
  3. Updating ZStack's implementation of the View protocol to just lean on Group like VStack and HStack already do.

Thanks @bbrk24 for discovering this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions