Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Xamarin Forms iOS UIView dragging not working when accessibility enabled #13959

Open
@jeyakasipandi

Description

When enable the accessibility voice over support then the UIView dragging support not working in XF iOS.

When drag the UIView not getting the touch points in override methods TouchesBegan and TouchesMoved.

[C#]

    public override void TouchesBegan(NSSet touches, UIEvent evt)
        {
            base.TouchesBegan(touches, evt);
            // Not getting touch point when enabled the accessibility voice over but getting points when disable the accessibility.
            CGPoint touchPoint = ((UITouch)touches.AnyObject).LocationInView(uiView);
        }

Expected Behavior

When enable the accessibility voice over in iPhone device then drag the UIView. It need to drag.

Actual Behavior

Enabled the accessibility voice over in iPhone device then drag the UIView. It not dragging. But disable the accessibility then dragging works

Basic Information

XF version 4.8

Environment

Visual Studio 2019

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions