Skip to content

Commit

Permalink
Fix PointerOverOut test (#46634)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #46634

The PointerEventPointerOverOut.js test case is broken due to a changed assumption about the name of the native tag property (`_nativeTag` vs. `__nativeTag`). This fixes the broken assumption.

## Changelog

[General][Fixed] Fixed issue with W3C PointerEvents tests

Reviewed By: NickGerleman

Differential Revision: D63336621

fbshipit-source-id: b54270f1c1232de6845ef73cac52f06b9a85539c
  • Loading branch information
rozele authored and facebook-github-bot committed Sep 25, 2024
1 parent 0cb32d5 commit 68a6b69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function getNativeTagFromHostElement(
}
if (elem != null) {
// $FlowExpectedError - accessing non-public property
return elem._nativeTag;
return elem.__nativeTag;
}
return undefined;
}
Expand Down

0 comments on commit 68a6b69

Please sign in to comment.