[BUG] TouchBehavior does not work on Button in Windows #2538
Labels
area/behaviors
Issue/Discussion/PR that has to do with Behaviors
bug
Something isn't working
unverified
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
TouchBehavior does not seem to work on Button controls in Windows. Works as expected on Android. Command (short click/tap) and LongPressCommand are nether one triggered when using TouchBehavior on a Button. Moving the TouchBehavior definition up to a Label (and changing it to a Label type obviously) works as expected on both platforms. Moving it to an Image also works on both platforms. Moving it back to the Button results in the short and long taps being registered on Android only, and not Windows.
Expected Behavior
I expect that TouchBehavior (particularly Long Presses) work the same way across platforms.
Steps To Reproduce
Link to public reproduction project repository
https://github.com/TheInnoventor/LongPressTest
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: