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

Tap Gesture Recognizer not working #2

Open
brentos99 opened this issue Oct 18, 2023 · 1 comment
Open

Tap Gesture Recognizer not working #2

brentos99 opened this issue Oct 18, 2023 · 1 comment

Comments

@brentos99
Copy link

I've been testing with this sample apps (its very awesome! well done) and I've found that Tapping on the flyoutBackdrop, does not close the flyout menu. I am testing this in an Android emulator on my touch screen laptop, is this a bug in MAUI or the way in which I am testing? Or is there an issue with adding a TapGestureRecognizer on a Rectangle?

        <Rectangle
            x:Name="flyoutBackdrop"
            Fill="Black"
            Margin="-1"
            InputTransparent="True">
            <Rectangle.GestureRecognizers>
                <TapGestureRecognizer
                    Tapped="FlyoutBackdropTapped"/>
            </Rectangle.GestureRecognizers>
        </Rectangle>

Tapped="FlyoutBackdropTapped"/>

@RadekVyM
Copy link
Owner

Hi @brentos99,

thanks for the info. The bug is caused by changing the value of the InputTransparent property, which does not work properly in .NET 7. This should be hopefully fixed in .NET 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants