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

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

Open
waelsaad opened this issue Aug 3, 2022 · 0 comments

Comments

@waelsaad
Copy link

waelsaad commented Aug 3, 2022

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

1 participant