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

[Windows] Allow tap gesture in ContentView #17482

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open

[Windows] Allow tap gesture in ContentView #17482

wants to merge 27 commits into from

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

Allow gestures in Windows ContentView (mostly custom controls).

To validate the changes can use the added sample in the UITest project manually or using the test.

Issues Fixed

Fixes #15810

@jsuarezruiz jsuarezruiz added t/bug Something isn't working platform/windows 🪟 area-gestures Gesture types backport/suggested The PR author or issue review has suggested that the change should be backported. labels Sep 19, 2023
@jsuarezruiz jsuarezruiz changed the title [Windows] Allow gestures in ContentView [Windows] Allow tap gesture in ContentView Sep 19, 2023
@samhouts samhouts added this to the Under Consideration milestone Sep 19, 2023
@PureWeen PureWeen removed the backport/suggested The PR author or issue review has suggested that the change should be backported. label Sep 26, 2023
@jsuarezruiz jsuarezruiz marked this pull request as ready for review October 18, 2023 09:49
@jsuarezruiz jsuarezruiz requested a review from a team as a code owner October 18, 2023 09:49
@samhouts samhouts added the stale Indicates a stale issue/pr and will be closed soon label Dec 7, 2023
@jsuarezruiz jsuarezruiz removed the stale Indicates a stale issue/pr and will be closed soon label Dec 12, 2023
@samhouts samhouts added the stale Indicates a stale issue/pr and will be closed soon label Jan 8, 2024
@jsuarezruiz jsuarezruiz removed the stale Indicates a stale issue/pr and will be closed soon label Jan 22, 2024
@samhouts samhouts added the stale Indicates a stale issue/pr and will be closed soon label Feb 6, 2024
@jsuarezruiz jsuarezruiz removed the stale Indicates a stale issue/pr and will be closed soon label Feb 8, 2024
@PureWeen PureWeen removed this from the Under Consideration milestone Aug 2, 2024
@samhouts samhouts added the stale Indicates a stale issue/pr and will be closed soon label Aug 29, 2024
@jsuarezruiz jsuarezruiz removed the stale Indicates a stale issue/pr and will be closed soon label Feb 6, 2025
@@ -23,6 +23,8 @@ public async Task EntryTextColorStopsWorkingAfterPropertyIsUpdatedFromBinding()

await Task.Delay(1000); // Wait for Ripple Effect animation to complete.

await Task.Delay(1000); // Wait to complete the Ripple Effect animation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need both here @jsuarezruiz ? seems we have 2 delays

{
var platformContent = content.ToPlatform(mauiContext);

var defaultBrush = new UI.Xaml.Media.SolidColorBrush(Colors.Transparent.ToWindowsColor());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we hardcode the Transparent here? I wonder if we should usa something like a Resource so users could override it if they want at platform level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-gestures Gesture types platform/windows 🪟 t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[regression/7.0.49] TapGestureRecognizer Tapped events not worked in Windows Platform
4 participants