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] Native animations not showing. (TouchBehavior) #1787

Closed
2 tasks done
vincentlai97 opened this issue Apr 2, 2024 · 1 comment
Closed
2 tasks done

[BUG] Native animations not showing. (TouchBehavior) #1787

vincentlai97 opened this issue Apr 2, 2024 · 1 comment
Labels
bug Something isn't working unverified

Comments

@vincentlai97
Copy link

vincentlai97 commented Apr 2, 2024

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

Native animations (namely ripple effect on Android) does not show in the sample MCT project.

d6d2ddad-a237-4604-afa8-1f8d89e3d0a4.mp4

The additional blue button only had the native animation after removing global Button style from Styles.xml.
Which makes me wonder if it has anything to do with this issue. dotnet/maui#17642

Expected Behavior

#1673 (comment)
As shown in the PR.

Steps To Reproduce

  1. Load fresh MCT sample.
  2. Build and run on physical device.
  3. (Optional) To get native animation on Button, remove global Button styling in Styles.xml

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui

Environment

- .NET MAUI CommunityToolkit: 8.0.0
- OS: Android 14 (API 34)
- .NET MAUI: Tested on both 8.0.14 (Fresh from repository) and 8.0.7
- .NET SDK: 8.0.203

Installed Workload Id      Manifest Version       Installation Source
--------------------------------------------------------------------------------------------------
android                    34.0.85/8.0.100        SDK 8.0.200, VS 17.7.34221.43, VS 17.10.34607.79
ios                        17.2.8043/8.0.100      SDK 8.0.200, VS 17.7.34221.43, VS 17.10.34607.79
maccatalyst                17.2.8043/8.0.100      SDK 8.0.200, VS 17.7.34221.43, VS 17.10.34607.79
macos                      14.2.8043/8.0.100      SDK 8.0.200, VS 17.10.34607.79
maui-android               8.0.7/8.0.100          SDK 8.0.200, VS 17.7.34221.43
maui-ios                   8.0.7/8.0.100          SDK 8.0.200, VS 17.7.34221.43
wasi-experimental          8.0.3/8.0.100          SDK 8.0.200
maui-windows               8.0.7/8.0.100          VS 17.7.34221.43, VS 17.10.34607.79
maui-maccatalyst           8.0.7/8.0.100          VS 17.7.34221.43

Anything else?

No response

@vincentlai97 vincentlai97 added bug Something isn't working unverified labels Apr 2, 2024
@brminnick
Copy link
Collaborator

This is by a bug.

The Xamarin Community Toolkit's Native Animation implementation was not ported to .NET MAUI.

If you're interested in implementing it, please open a new feature proposal: https://github.com/CommunityToolkit/Maui/issues/new?assignees=&labels=new%2Cproposal&projects=&template=open-a-new-feature-proposal.yml&title=%5BProposal%5D+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

2 participants