Skip to content

Touch behavior issue after widget tap #2197

@janusw

Description

@janusw

Mapsui Version
4.1.0-preview.1

Mapsui Platform
Xamarin.Forms

Device
iOS (v16+17)

Describe the bug
I'm seeing a regression with widget behavior in version 4.1.0-preview.1 (compared to 4.0.0). I use custom widgets in a MapView that trigger a particular action when tapping. The action is still triggered alright with the preview version, but afterwards there are issues with the touch behavior (it seems like a TouchEnded event is missing or something like that): Panning with a single finger results in two-finger pinch behavior, and after a second tap on the widget it does not work at all any more. Probably the MapView keeps some extraneous touch points that don't exist any more.

Expected behavior
Touch gestures should work like usual.

Additional context
It seems the bug was introduced with PR #2133 by @inforithmics (most probably due to the MapView changes in commit 91b24b3).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions