Grid
Grid copied to clipboard
When placed inside a NavigationView cell takes the whole screen
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:
Xcode Version 12.0 (12A7209)
ExyteGrid (0.1.0)
iOS 14.0
Same issue here!