SfListView SelectionController animation not fluid on ios
Hi all,
I'm migrating from XF and I have a list with SelectionController as below.
Even if the animation is simple seems that on IOS is not fluid as was on XF.
Can you check please?
thanks
protected override async void AnimateSelectedItem(ListViewItem selectedListViewItem)
{
base.AnimateSelectedItem(selectedListViewItem);
await Task.WhenAll(
selectedListViewItem.FadeTo(0.3, 150, Easing.SinInOut),
selectedListViewItem.ScaleTo(0.8, 150, Easing.SinInOut)
);
await Task.WhenAll(
selectedListViewItem.FadeTo(1, 150, Easing.SinInOut),
selectedListViewItem.ScaleTo(1, 150, Easing.SinInOut)
);
listView.SelectedItems.Clear();
}
Hi Luca,
We have reviewed the
reported scenario and tested the provided code snippet in both Xamarin and MAUI
samples. In both cases, the behavior is the same, and everything is working as
expected. Please refer to the attached video for reference.
Could you kindly
provide more details about the issue :
1. Video references
2. MAUI version
3. Sample code
If possible
could you please share a issue reproducible sample. This will help us investigate
further and provide a solution as soon as possible.
Attachment: Videos_6ebb6674.zip
Hi,
thanks for your response!
Please can you try on a real device?
If I may please stop testing on simulator but use a real device.
thanks a lot!
Hi Luca,
As mentioned in the recent update, we have tested the selection animation on both Xamarin and MAUI using real devices. We are experiencing slight slowness in item selection in iOS platform. We are currently investigating this issue and will update you with further details on or before September 19, 2024. We appreciate your patience until then.
Regards,
KamalaKannan S.
Hi,
thanks for your reply.
I'm using it on a grid List.
What I can see is that the animation is skipped or it runs but is not fluid. Also on Android.
Thanks a lot, I'll wait your update.
Thanks
Hi Luca,
As mention in the recent update. We have tested the SfListView with GridLayout . The animation seems to be working fine as expected. We have tested it with real device and emulator also we have tested the scenario with and without animation. For your reference we have attached our video. In IOS platform we faced a slight slowness. We are currently validating on this and we will update you with further details on tomorrow. We appreciate your patience until then.
Regards,
KamalaKannan S.
Attachment: Videos_94c3f227.zip
Hi Luca,
Thanks for your patience, We have prepared a custom NuGet package
with a potential solution to the problem. We kindly ask you to verify the issue in IOS using the
provided NuGet package and inform us if the issue has been resolved or not.
Note: Please clear the Nuget cache before using the attached nuget package
Please refer to the below link for this.
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache
Please refer the below KB to install the custom NuGet on a local
machine,
https://support.syncfusion.com/kb/article/14586/how-to-install-the-maui-custom-nuget-in-the-windows-machine
Regards,
KamalaKannan S.
Attachment: Syncfusion.Maui.ListView.27.1.48_1268a7fa.zip
Hi,
thanks for your reponse.
No changes even with the new version.
I don't know what happen with the last release Vol3 but the list view performance are worse.
I'm going to test more and provide feedback.
thanks
Hi Luca,
Regarding iOS Selection:
In ListView, we have internally handled the tap and double gestures for touch interaction, which results in a delay of 0.3 seconds for item selection. This delay is the current default behavior on iOS. Due to this delay, the custom animation effect is not smooth in your application. So, we added a potential fix to overcome this delay and provided the custom package in our last update.
Could you please confirm whether you have used that custom package or used the latest NuGet version in your application.
We request you install the custom package in your sample and confirm us if the issue persists. Please ensure to uninstall the Syncfusion packages and clear nuget cache before install the provided custom package.
Regarding ListView Performance:
Sorry for the inconvenience. We did not experience any performance degradation in our latest version. Could you please share the Maui version, platform (Android, or iOS) and device details where you're encountering the issues? It would be more helpful for us to investigate further at our end.
Regards,
KamalaKannan S.
- 8 Replies
- 2 Participants
-
LU Luca
- Sep 13, 2024 01:51 PM UTC
- Sep 20, 2024 02:09 PM UTC