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

Buttons missing ripple effect in windows? #7492

Closed
AlMcLeanYF opened this issue May 26, 2022 · 2 comments
Closed

Buttons missing ripple effect in windows? #7492

AlMcLeanYF opened this issue May 26, 2022 · 2 comments
Labels
legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor platform/windows 🪟 s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working

Comments

@AlMcLeanYF
Copy link

Description

The behaviour of buttons is different when the sample app is ran on android emulator and in windows. On android they show a ripple effect when pressed, on windows they don't.

I'm not sure whether this is intended or not

Steps to Reproduce

Can be reproduced from the standard Maui app.

Version with bug

6.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android, Windows

Affected platform versions

Android 11, Windows 10.0.19041.0

Did you find any workaround?

No response

Relevant log output

No response

@AlMcLeanYF AlMcLeanYF added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels May 26, 2022
@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 26, 2022
@drasticactions
Copy link
Contributor

Yeah, it is. MAUI Buttons are based on the platform's buttons. So a Button on Windows will look and act like a button on Windows, and a button on Android will look like Android, etc. That's because they are.

If you want to control those actions, you can look at the docs for how handlers work (https://docs.microsoft.com/en-us/dotnet/maui/user-interface/handlers/customize). If you don't want the ripple effect on Android, you can turn it off that way, and it will affect all buttons you make within your application.

@AlMcLeanYF
Copy link
Author

Brilliant, thanks for the clarification

@ghost ghost locked as resolved and limited conversation to collaborators Jun 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor platform/windows 🪟 s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants