New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TranslateTo Animation is not working on Samsung Android tablet #17815
Comments
I got the exact same issue! Devices where it doesn't work:
Devices where it works:
(It also works on all emulators) I've compared the devices but can't find anything hardware-wise that should impact this issue: The author from #7632 claims that the issue gets resolved when he did a factory reset of his device. I'm currently migrating a existing a Xamarin.Forms application to MAUI, and since the LayoutTo method is broken in MAUI (#15439) we are pretty much blocked by this. I use the TranslateTo-method and it is not respecting the animation length. |
@jsuarezruiz |
I though I encountered this bug. However I turned off battery saving mode and the animations did play. Pretty cool that MAUI actually does this. Strange though as #17287 isn't merged. |
Interesting! I did have battery saving on, on the device where it didn't work. |
@HubbleCommand you are correct. @vallgrenerik I tested the animations on the Samsung Galaxy Tab S7+ with the battery-saving feature turned off, and they worked correctly. I presume this is a feature, not a bug. It is very misleading and lacks documentation though. |
Description
Animation is not working on Samsung sung Galaxy Tab S7+. It is working on my Samsung Galaxy S23, and on the android emulator.
The visual element just gets moved to the position without respecting the animation length. I've attached a sample project and a video with the two devices.
await MovingSquare.TranslateTo(MovingSquare.TranslationX, MovingSquare.TranslationY - 100, animationTime, Easing.Linear);
The same issue exists in .net 8 preview.
Steps to Reproduce
Sample application, video, and software information is attached.
MauiApp1.zip
YouCut_20231003_220706737.mp4
Link to public reproduction project repository
No response
Version with bug
7.0.92
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 13
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: