Skip to content

When placed inside a NavigationView cell takes the whole screen #14

@orkenstein

Description

@orkenstein

Awesome framework! Please, consider looking into the following issue:

I'm trying to embed Grid into the following setup:

import ExyteGrid
import SwiftUI

struct Test: View {
  var body: some View {
    NavigationView {
      Grid(tracks: 3) {
        Color(.blue)
        Color(.purple)
        Color(.red)
        Color(.cyan)
        Color(.green)
        Color(.orange)
      }
    }
  }
}

struct Test_Previews: PreviewProvider {
  static var previews: some View {
    Test()
  }
}

The result:
Screen Shot 2020-09-24 at 17 02 15

Xcode Version 12.0 (12A7209)
ExyteGrid (0.1.0)
iOS 14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions