Skip to content

Conversation

@asklar
Copy link
Member

@asklar asklar commented Dec 6, 2020

Fixes #6682
the Tag property is available on FrameworkElement, so when the app has elements that are not FE like hyperlinks (which are UIElements but not FE), we crash

Microsoft Reviewers: Open in CodeFlow

@asklar asklar requested a review from a team as a code owner December 6, 2020 05:49
Copy link
Contributor

@rectified95 rectified95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix - I missed this when implementing the hit test.

@asklar asklar merged commit 7d293b3 into microsoft:master Dec 7, 2020
@asklar asklar deleted the touchEventCrash branch December 7, 2020 06:46
rectified95 pushed a commit to rectified95/react-native-windows that referenced this pull request Apr 1, 2021
rectified95 added a commit that referenced this pull request Apr 5, 2021
* Revert "Fix touch event crash (#6692)"

This reverts commit 7d293b3.

* Change files

* Restore working onPress for nested Text.

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E test: Clicking on hyperlinks crashes test app

2 participants