You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
I have implemented a simple button-like control to contain any content, using a Xamarin.Forms.Frame with Xamarin.CommunityToolkit TouchEffect attached properties. The TouchEffect properties animate the frame to look like a button press.
The issue is that most of the time the very first button touch doesn't not animate. The Command for the button does get executed, but without the animation. After the first touch ANYWHERE on the application, all subsequent button touches DO animate. I find this to be the case running the Visual Studio android emulator or on several android phones, both in debug and release.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have implemented a simple button-like control to contain any content, using a Xamarin.Forms.Frame with Xamarin.CommunityToolkit TouchEffect attached properties. The TouchEffect properties animate the frame to look like a button press.
The issue is that most of the time the very first button touch doesn't not animate. The Command for the button does get executed, but without the animation. After the first touch ANYWHERE on the application, all subsequent button touches DO animate. I find this to be the case running the Visual Studio android emulator or on several android phones, both in debug and release.
I have created a simple example in a github repo to demonstrate this:
https://github.com/rokenbuzz/TouchEffectBug
My use of TouchEffect looks like this:
Is this a bug?
Am I missing something?
Any workarounds?
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions