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

[MAUI] Configurable TouchEffect duration (Android RippleEffect) #68

Open
get-flat opened this issue Jan 11, 2023 · 0 comments
Open

[MAUI] Configurable TouchEffect duration (Android RippleEffect) #68

get-flat opened this issue Jan 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@get-flat
Copy link

Is your feature request related to a problem? Please describe.
Configurable TouchEffect: TapAnimation duration

Describe the solution you'd like
XAML property i.e. similar to <syncEffectsView:SfEffectsView RippleAnimationDuration="800">

        public static readonly BindableProperty DurationProperty =
            BindableProperty.CreateAttached(
            propertyName: "Duration",
            typeof(double),
            typeof(TouchEffect),
            250, /* Android 250 / iOS 225 */
            propertyChanged: PropertyChanged
        );

Describe alternatives you've considered
None

Additional context
TouchEffectPlatform.cs
Android: TapAnimation(duration: 250, _alpha, 0); (?)
iOS: UIView.Animate(0.225, ...) (?)

@roubachof roubachof added the enhancement New feature or request label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants