Skip to content
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

[BUG] [Android] TouchBehavior broken when applied to a control template #1830

Open
2 tasks done
Hackmodford opened this issue Apr 23, 2024 · 0 comments
Open
2 tasks done
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working unverified

Comments

@Hackmodford
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

Touch Behavior added as a behavior to a control template does not work on Android, but does work on iOS.

Expected Behavior

Touch behavior added as a behavior to a control template works on Android and iOS.

Steps To Reproduce

Open and run the solution on Android.
Press the "Tap Me" box and observe there is no animation.

Link to public reproduction project repository

https://github.com/Hackmodford/maui-android-control-template-touch-behavior-bug

Environment

- .NET MAUI CommunityToolkit: 8.0.1
- OS: macOS Sonoma 14.4.1
- .NET MAUI: 8.0.200

Anything else?

In the example I would expect the gray box to animate its scale and bounce back when released. But it is not working on Android. In my actual app the command binding is also not working.

@Hackmodford Hackmodford added bug Something isn't working unverified labels Apr 23, 2024
@Hackmodford Hackmodford changed the title [BUG] [BUG] [ Apr 24, 2024
@Hackmodford Hackmodford changed the title [BUG] [ [BUG] [Android] Touch Behavior broken when applied to a control template Apr 24, 2024
@Hackmodford Hackmodford changed the title [BUG] [Android] Touch Behavior broken when applied to a control template [BUG] [Android] TouchBehavior broken when applied to a control template Apr 24, 2024
@vhugogarcia vhugogarcia added the area/behaviors Issue/Discussion/PR that has to do with Behaviors label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

2 participants