Skip to content

Crash in RxScrollViewDelegateProxy when implementing custom UIScrollViewAccessibilityDelegate methods #2666

Open
@MartinColja

Description

@MartinColja

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 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions