TapGestureRecognizer fails to activate correctly when a long press action is performed on iOS and macOS platforms
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
When using a control derived from ControlLayout, long-press behavior differs between platforms. On Windows and Android, the tap gesture successfully triggers when the user releases their pointer after a long press. However, on macOS and iOS, if a user performs a long press exceeding 2 seconds and then releases their pointer, the tap action fails to trigger as expected.
### Steps to Reproduce
1.Run the sample in macOS or iOS.
2. Long press (hold for more than 2 seconds) the item which has the text " Tap to Expand/Collapse".
3. When tapping the item, it will update and shown the tap count below.
4.When long pressing it ,Observe that the label does not update tap count, indicating the interaction is not triggered.
[CustomSample 3.zip](https://github.com/user-attachments/files/21427697/CustomSample.3.zip)
### Link to public reproduction project repository
_No response_
### Version with bug
9.0.50 SR5
### Is this a regression from previous behavior?
Not sure, did not test other versions
### Last version that worked well
Unknown/Other
### Affected platforms
iOS, macOS
### Affected platform versions
_No response_
### Did you find any workaround?
_No response_
### Relevant log output
```shell
```
Contributor guide
Assessment
This issue has not been assessed yet.