You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting IsHitTestVisible set to false on a parent element, any child that has set IsHitTestVisible to true is ignored and will not respond to for example a Tapped event.
All child elements of an element that has set IsHitTestVisible to false should be ignored for touch events, unless a child element has set IsHitTestVisible to true.
In the example above the function StackBottom_Tapped should be called when clicking on the StackPanel called StackBottom.
Avalonia version
11.1.0-rc1
OS
Windows, Linux
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When setting IsHitTestVisible set to false on a parent element, any child that has set IsHitTestVisible to true is ignored and will not respond to for example a Tapped event.
To Reproduce
Add the following to an axaml file:
Add the following to the axaml.cs file:
Expected behavior
All child elements of an element that has set IsHitTestVisible to false should be ignored for touch events, unless a child element has set IsHitTestVisible to true.
In the example above the function StackBottom_Tapped should be called when clicking on the StackPanel called StackBottom.
Avalonia version
11.1.0-rc1
OS
Windows, Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: