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

These content after BottomSheet still can be clicked #1

Open
xtuzy opened this issue Aug 25, 2022 · 4 comments
Open

These content after BottomSheet still can be clicked #1

xtuzy opened this issue Aug 25, 2022 · 4 comments

Comments

@xtuzy
Copy link

xtuzy commented Aug 25, 2022

Current:

sharex-20220825172242.mp4

Hope like this:

sharex-20220825173152.mp4
@naweed
Copy link
Owner

naweed commented Aug 25, 2022

Yes, I have this issue on almost everything on Maui.Android. On iOS, this issue is not there. Hopefully, this will be fixed by MAUI team soon.

@Buryyy
Copy link

Buryyy commented Jan 2, 2023

As a temporary hack, this issue can be avoided by having an empty TagGestureReconizer on the base Grid of the content view.

            <Grid.GestureRecognizers>
                <TapGestureRecognizer Command="{x:Null}" />
            </Grid.GestureRecognizers>

@nellydcp
Copy link

I'm currently checking this project to use it in my personal project and I followed Buryyy's suggestion but with the following change:
<Grid.GestureRecognizers> <TapGestureRecognizer Tapped="CloseBottomSheetButton_Tapped"/> </Grid.GestureRecognizers>

This way, the sheet will disappear whenever I click outside of it.

@langhaoabcd
Copy link

<Grid.GestureRecognizers>
            <SwipeGestureRecognizer Direction="Down" Swiped="CloseBottomSheetButton_Swiped"/>
            <TapGestureRecognizer  Command="{x:Null}" Tapped="CloseBottomSheetButton_Tapped"/>
</Grid.GestureRecognizers>

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

5 participants