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

App hangs when WrappingHStack is used in NavigationView > ScrollView #27

Closed
theedov opened this issue Oct 6, 2022 · 1 comment
Closed
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@theedov
Copy link

theedov commented Oct 6, 2022

Describe the bug
Sometimes app hangs when WrappingHStack is used inside a NavigationView > ScrollView. Removing WrappingHStack fixes the problem.

Example

    var body: some View {
        NavigationView {
            ScrollView {
                WrappingHStack(viewModel.responsibilities, alignment: .center, spacing: .constant(10), lineSpacing: 10) { responsibility in
                    Text(responsibility.name)
                }
                
            }
            .navigationTitle("Directory")
            .navigationBarTitleDisplayMode(.large)
        }
    }

Screenshots
image

Context:

  • WrappingHStack version: [2.2.2]
  • Model: [iPhone 14 Pro]
  • OS: [iOS 16.0.2]
@dkk
Copy link
Owner

dkk commented Oct 19, 2022

Closing for now, if you still have this issues 2.2.3, please reopen.

@dkk dkk closed this as completed Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants