The AppointmentTapCommand is not working on Android in DayView and WeekView, only works on MonthView. When selecting an appoinment in Day/WeekView the Scheduler scrolls to top
3 comments
ADMIN
Yana
Posted on:13 Aug 2024 10:01
Hello Nico,
Thank you for the update - indeed, I managed to reproduce the erroneous behavior now. When the ToolTip is applied, it seems this handles the tap gesture and our Tap command is not called. Anyway, I confirm this is an issue on our side and I've updated its status to "Unplanned".
For the time being, you can use the following workaround - use the TapGestureRecognizer of the Grid and manually call the EditAppointmentDialog through the Scheduler' method:
privatevoidTapGestureRecognizer_Tapped(object sender, Microsoft.Maui.Controls.TappedEventArgs e)
{
var app = ((sender as View).BindingContext as AppointmentNode).Occurrence;
this.scheduler.EditAppointmentWithDialog(app);
}
I hope this workaround would be acceptable. I've updated your points for bringing this to our attention.
Other than that, I am not aware of such an erroneous behavior with the appointment tap. Could you send me more details on how you're reproducing it, is it on an emulator or a real device?