-
Notifications
You must be signed in to change notification settings - Fork 92
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
ScrollView Nesting Issues. #34
Comments
Have you tried setting That'll put a scrollview around the grid. |
Hi, yeah, that does work but only limited to the views scope - the grid I'm using needs to be part of a larger view, wrapped in a scrollView. |
Closing this issue now as after some investigation, this has been resolved/is invalid. |
@BenThomasClark Could you provide a code snippet for this solution? |
GeometryReader {
let size = $0.size
ScrollView {
VStack {
Grid(tracks: 2) {
// ...
}
}
// .frame(width: size.width, height: size.height, alignment: .leading) <- You can change the height here or just ignore this line, your `Gird` is now displayed in `ScrollView`
}
.scrollIndicators(.hidden)
} |
Hi,
I saw this post posted in October 2021 regarding issues with nesting the grids inside scroll views. And the answer was that scrollviews were not supported.
Is there any update on this or projected update release dates?
Thanks!
The text was updated successfully, but these errors were encountered: