This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] [Android] First TouchEffect Tap is not executed, if used inside TabView #1557
Labels
a/TouchEffect
bug
Something isn't working. Breaky break.
s/unverified
This issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.
Description
If TouchEffect is used in a ListView that is located on a TabViewItem, the first tap after a tab switch is not executed.
Steps to Reproduce
Replace the GalleryPageTemplate within the XCT samples app with this:
Sample Video
Expected Behavior
The first Tap after the TabSwitch should not end with PlatformTouchEffect.android.cs/OnTouchCancel(), it should be executed with OnTouchUp().
Actual Behavior
The first Tap is lost.
Workaround
Insert
System.Threading.Thread.Sleep(100);
at the end of the OnTouchDown() function.
Alternatively use the InteractionStatusChanged event to Sleep a bit.
The text was updated successfully, but these errors were encountered: