Skip to content

[Android] TouchBehavior prevents Button clicked events #602

@mfeingol

Description

@mfeingol

I gave TouchBehavior a spin the other day, aiming to replace a custom LongPressBehavior implementation of my own. It works pretty well, but it has an issue my own LongPressBehavior is seeing: using it prevents Button clicked events from firing when the Button is contained inside the behavior's element.

In my own implementation I added a Clicked event using the PlatformView's Click event to replace those lost events. I don't see something similar on TouchBehavior.

Any chance this could be fixed? I'd prefer to use TouchBehavior instead of maintaining my own version.

Thanks.

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