Can't use Long Press gesture recognizers on SfAutoComplete ItemTemplate

As the title says, the long press gesture recognizer doesn't work when I use it inside the ItemTemplate of the autocomplete.
It works on Android but not on iOS.
I attach solution with an example.
Execute it, click on "LOAD SFAUTOCOMPLETE" and you will se an SfAutoComplete control in the center of the page, click on it and write something.
It will autocomplete two suggestions, long press on any item and it should hit the breakpoint:
It will hit the breakpoint on Android but not on iOS.
Now, you can try clicking in the "Load label with gesture recognizers" button, on the main page. You will see a label, now you can long press that label and it will fire the event both on iOS and Android.
I'd like to get the long press event working inside an ItemTemplate of the SfAutoComplete control.

I can't attach the whole project so I link it here: Download

7 Replies

SS Suganya Sethuraman Syncfusion Team September 15, 2020 02:31 PM UTC

Hi Pedro,

We are currently validating on this with high priority and we will update the details on September 17th, 2020. We appreciate your patience until then.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team September 17, 2020 01:23 PM UTC

Hi Pedro,

We were able to reproduce the issue “Can't use Long Press gesture recognizers on SfAutoComplete ItemTemplate” and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.

Link: https://www.syncfusion.com/feedback/18000

The provided feedback link is private, and you need to login to view this feedback.

The fix for the reported issue will be available on 1st October, 2020.

If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.

Regards,
Suganya Sethuraman.
 



SP Sakthivel Palaniyappan Syncfusion Team October 1, 2020 09:54 AM UTC

Hi Pedro,

Thanks for the patience.

We would like to let you know that after further analysis from our side in iOS, we're using UITableView to display the list of items. When you add the items using ItemTemplate, it's one of the children in the UITableView cell, so we couldn't handle the gesture for both the child(custom view) and parent(UITableView) view at the same time. If you requirement is a long-press gesture recognizer with the SfAutoComplete ItemTemplate, this will be considered internally as a request for a feature.

Please let us know, if you have any other concerns.

Regards,
Sakthivel P.
 



PR Pedro Reglero October 1, 2020 10:00 AM UTC

Hello.
Yes, I knew this, I thought that this https://www.syncfusion.com/feedback/18000 , was already a feature request.
If it isn't, I would like to have this functionality.

Regards,
Pedro R.


SP Sakthivel Palaniyappan Syncfusion Team October 2, 2020 11:39 AM UTC

Hi Pedro,

We have consider this as feature request and we will share the time line of the feature on or before October 6, 2020. We appreciate your patience until then.

Regards,
Sakthivel P.



PR Pedro Reglero October 2, 2020 11:41 AM UTC

Ok.
Thank You so much.

Regards,
Pedro R.


SP Sakthivel Palaniyappan Syncfusion Team October 5, 2020 12:16 PM UTC

Hi Pedro,

Thanks for the update.

We have logged the feature request for this and you can track the status of the feature from below link

Feedback portal:
https://www.syncfusion.com/feedback/18442/long-press-gesture-recognizer-support-for-autocomplete-itemtemplate

Please cast your vote to make it count. We will prioritize the features every release based on the demands and we do not have an immediate plan to implement this feature since we have committed with already planned work. So, this feature will be available in any of our upcoming releases.

If you have any more specifications/suggestions to the feature request, you can add it as a comment in the portal.

Regards,
Sakthivel P.
 


Loader.
Up arrow icon