Hello. I'm trying to implement CollectionView inside SfPopup. I can do that but it seems it's not responsive when user click on item in the collection itself. simply nothing happens. I wrote simple code for this.
Step to reproduce:
- Click on "Show Popup"
- Popup appears with sample data in the collection
- Click on item, nothing appears in the console
Any advice?
Mirco
Hi Pasquale Mirco,
We have thoroughly tested the provided sample on both Android and Windows platforms. When clicking on an item in the collection, the selected item is properly displayed in the output console, and the SelectionChanged event of the CollectionView is triggering as expected. Also confirmed this by testing with DisplayAlert to show the selected item, and it is functioning correctly. I have attached a working video demonstrating the expected behavior.
We recommend trying to clear the cache and confirming whether the issue persists. Additionally, consider uninstalling the NuGet packages, reinstalling them, and checking for any improvements.
Regards,
AnanthaLakshmi K.
Did you try on iOS simulator?
I'm facing very strange issue. On iOS simulator and physical device, mehtod SelectionChanged fires only when user tap on item at least 3 seconds. I didn't try on Android.
I attach a video where it's possible to understand what I'm saying. If I tao normally, nothing happens. If I tap for at least 3 seconds, alert appears
Attachment: Registrazione_schermo_20240106_alle_17.57.02.mov_daa44766.zip
EDIT: I tried with SfListView and the issue disappears
Hi Pasquale Mirco,
We suspect that the issue may be related to the CollectionView. To address this, consider using SfListView instead. In our testing, it has shown to work seamlessly on iOS.
Should you require further assistance or have any questions regarding the implementation of SfListView, please feel free to reach out to us. We are here to help!