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

[Enhancement] TouchEffect is lacking event for LongPress #851

@Tommigun1980

Description

@Tommigun1980

Description

Steps to Reproduce

TouchEffect doesn't expose events as attachable properties (see #842 (comment)), so one has to do:

<ContentView>
    <ContentView.Effects>
        <xct:TouchEffect Completed="..."

However, there is no event for 'LongPress', so you can't do:

<ContentView>
    <ContentView.Effects>
        <xct:TouchEffect LongPress="..."

This results in a situation where long presses can only be handled via a Command, and there doesn't seem to be any way of accessing it as an event (which is imperative when implementing controls etc).

I am filing this as a bug as it seems the API is not complete.

Thank you.

Expected Behavior

A long press event should exist.

Actual Behavior

No long press event exists.

Basic Information

  • Version with issue: 1.0.2
  • Last known good version: None?
  • IDE:
  • Platform Target Frameworks:
    • iOS: 14.4

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions