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

Items overlap #27

Open
Jomy10 opened this issue Oct 16, 2021 · 4 comments
Open

Items overlap #27

Jomy10 opened this issue Oct 16, 2021 · 4 comments

Comments

@Jomy10
Copy link

Jomy10 commented Oct 16, 2021

I have a problem where the elements of the grid are overlapping.
My code is:

var body: some View {
     ScrollView {
            VStack(alignment: .leading) {
                Group {
                    Text("Letters en woorden")
                        .font(.title)
                    Grid(tracks: 3) {
                        Text("_eererer_")
                        Text("_eererer__")
                        Text("_eererer_")
                        Text("_eererer_")
                        Text("_eererer_")
                        Text("_eererer_")
                    }
                // ...
                }
            }.padding(.bottom)
     }.navigationTitle("Morse")
       .padding(.horizontal)
}

This is how my view look
Schermafbeelding 2021-10-16 om 13 06 56

@denis-obukhov
Copy link
Collaborator

denis-obukhov commented Nov 25, 2021

Grid currently doesn't support nesting into ScrollView. Intrinsic-sized mode is under development

@Elektronenhirn108
Copy link

Grid currently doesn't support nesting into ScrollView. Intrinsic-sized mode is under development

Are there any news about that issue?

@birdmichael
Copy link

@denis-obukhov Will Intrinsic-sized continue to be updated?

@birdmichael
Copy link

@denis-obukhov
I have implemented the basic functions. I just need to replace GeometryReader with HuggingGeometryReader.
But there is a little problem: because all the code depends on the specific width, is there any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants