dotnet / dotnet/maui

Add NativeAnimation to any control

Open
#4,243 7 comments 15 reactions 0 assignees View on GitHub
area-animation proposal/open t/enhancement ☀️
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

When I click on list item or button, native animation is rendered (ripples on Android, for example).
It would be great to be able to add it to any control in case control is not a standard clickable thing, but I want to show user that it can be clicked.

In Xamarin this could be done with `TouchEffect.NativeAnimation`: https://docs.microsoft.com/en-us/dotnet/api/xamarin.communitytoolkit.effects.toucheffect.nativeanimation?view=xamarin-community-toolkit-sdk

### Public API Changes

```xml

```

### Intended Use-Case

To improve UX when click listener is added to non-clickable control (StackLayout, Image, Label, etc.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.