Skip to content

Hi, nice component but it doesn't respond to dynamic font sizing / Accessibility. #4

@waelsaad

Description

@waelsaad

Hi,

As mentioned in the topic. I wish there is a way to fix this issue when changing font size dynamically the app doesn't respond well, in fact the UI is no longer rendered correctly.

Use the following to replicate if you wish:-

    struct ScrollViewExample4: View {
        @State var contentOffset: CGPoint = .zero
        
        var body: some View {
            BBScrollView([.horizontal, .vertical]) {
                VStack(alignment: .center, spacing: 10) {
                    ForEach(0..<18) { _ in Text("Test") } // Test on SE then increase font size using accessibility after the app is run.
                }
                .frame(maxWidth: .infinity)
                .padding()
            }
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions