dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.17k stars 1.74k forks source link

Grid Tap Gestures aren't limited to the cells they are assigned to #21740

Open czuck opened 6 months ago

czuck commented 6 months ago

Description

I have a grid with 4 rows and 4 columns. I have two tap gestures defined, each assigned to two columns in one row. Clicking anywhere on the grid causes both gestures to be run. On iOS you see them together: image

on Android in opens them in two separate views: image

In Forms I used StackedLayouts for situations like this, but with MAUI StackedLayouts don't paint as they did before so I'm attempting to use a grid.

Steps to Reproduce

Download and run the project linked below. Open the flyout menu and choose the Grid Tap menu item. Tap anywhere on the grid/

Link to public reproduction project repository

https://github.com/czuck/MauiTest.git

Version with bug

8.0.14 SR3.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

ninachen03 commented 6 months ago

Verified this issue with Visual Studio 17.10.0 Preview 2(8.0.10&8.0.14&8.0.20). Can repro it.