Silence-GitHub / BBSwiftUIKit

A SwiftUI library with powerful UIKit features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

waelsaad opened this issue · comments

commented

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()
            }
        }
    }