BBSwiftUIKit icon indicating copy to clipboard operation
BBSwiftUIKit copied to clipboard

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

Open waelsaad opened this issue 3 years ago • 0 comments

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

waelsaad avatar Aug 03 '22 06:08 waelsaad