Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
orkenstein opened this issue Sep 24, 2020 · 1 comment
Open
Labels
bug Something isn't working confirmed

Comments

@orkenstein
Copy link

orkenstein commented Sep 24, 2020

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
@denis-obukhov denis-obukhov added bug Something isn't working confirmed labels Sep 29, 2020
@Sam-Spencer
Copy link

Same issue here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
Development

No branches or pull requests

3 participants