Skip to content

Crash in RxScrollViewDelegateProxy when implementing custom UIScrollViewAccessibilityDelegate methods #2666

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

Open
MartinColja opened this issue Jun 3, 2025 · 0 comments

Comments

@MartinColja
Copy link

I implemented my own UIScrollViewAccessibilityDelegate to handle translations, but I got a crash mentioning RxScrollViewDelegateProxy.
I mitigated this by making the conformance in the project myself, but I wanted to do it here as well.

I would also like to get some advice on how to write tests for this, because the crash only occurs when actually using voice over.
I tried to trigger it in code with scrollView.accessibilityScroll(.next) but issue doesn't happen and the delegate is ignored.

I think It can be done by creating a UI test, but I didn't find any existing ones for the Rx framework itself,
so I'm not sure if that would be the way to go.

You can check my implementation here 😄

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