RadScheduler appointment DoubleTap/LongPress Bug/Request

1 Answer 26 Views
Scheduler
Itzik
Top achievements
Rank 1
Itzik asked on 28 Nov 2024, 12:42 PM

What im basically looking for is a solution for another gesture in addition to regular tap. (on an appointment).

Its split into 2 different options:
1.  (Bug)

Using existing AppointmentDoubleTap event 

I tried this but appearantly when using both events (regular and double tap) - the regular tap will immedietly be executed and so the doubleTap is never accessible.

 

2. (Request - preferably)

To add an option for a long press event on an appointment...
This is what i had in Xamarin and this is what i would ideally want here as well.

 

PS

Before suggesting - I did try to use CommunityToolkit behaviors for longPress but when its added to my appointment DataTemplate in the Xaml - the appointments do not appear, probably some conflict with Teleriks...

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 02 Dec 2024, 12:40 PM

Hi Itzik,

Indeed, in case you have both Tap and DoubleTap events, only the Tap will be fired immediately.

Would it be possible to share more information on the concrete scenario you have? Why do you need the long press, what are the target platforms, how did it work in Xamarin? I am asking as long press (or hold) is not relevant to Desktop and I'd need to understand the use case you have, in order to provide proper assistance. 

I'll be looking forward to your reply.

Regards,
Yana
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Itzik
Top achievements
Rank 1
commented on 02 Dec 2024, 02:03 PM

I need the long press in order to have some other functionality (simple tap opens a menu, long press open directly some entry from the menu).

My target platforms are solely iOS and Android.

In xamarin i used long press, but im not certain it was Telerik, there is a chance it was SyncFusion.

 

Is any farther info required?

Thnaks in advance, Itzik.

Yana
Telerik team
commented on 05 Dec 2024, 08:03 AM

Hi Itzik,

Thank you for sharing the additional details on the use case. In general, indeed, you can add the long press touch behavior of the CommunityToolkit - I've tested it and it's working properly on my side. 

I've attached my test app to show you how it behaves, can you download it and give it a try?

Let me know how it goes.

Itzik
Top achievements
Rank 1
commented on 17 Dec 2024, 10:30 AM

Hi, and thank you for providing me with this example solution.

I have downloaded it and checked - the logPress there works. But there is no implementation for a simple AppointmentTapped event.

If this event will be implemented you will see that its not executed not matter what. (Really hoping im wrong with this).
Didi
Telerik team
commented on 20 Dec 2024, 10:40 AM

I tested the AppointmentTapped event and it fires on WinUI. When I double click on the appointment, the built-in dialog opens. 

Then tested on Android and reproduced the behavior. When I comment the long press, the appointment tapped works. So I have logged the long press event as a feature request on your behalf here: https://feedback.telerik.com/maui/1674102-scheduler-provide-a-longpress-hold-gesture-on-appointments cast your vote for the item.

The options are to use the tapped or double tapped or just long press.

 

 

Tags
Scheduler
Asked by
Itzik
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or