Skip to content

Tap Gesture Recognizer not working #2

@brentos99

Description

@brentos99

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"/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions