-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31184 from s-alves10/fix/issue-31069
[CP Staging] Fix/issue 31069 (cherry picked from commit a6629d4)
- Loading branch information
Showing
4 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/react-native-web/dist/exports/UIManager/index.js b/node_modules/react-native-web/dist/exports/UIManager/index.js | ||
index 15b71d5..46b9e01 100644 | ||
--- a/node_modules/react-native-web/dist/exports/UIManager/index.js | ||
+++ b/node_modules/react-native-web/dist/exports/UIManager/index.js | ||
@@ -77,7 +77,7 @@ var UIManager = { | ||
measureInWindow(node, callback) { | ||
if (node) { | ||
setTimeout(() => { | ||
- var _getRect2 = getRect(node), | ||
+ var _getRect2 = node.getBoundingClientRect(), | ||
height = _getRect2.height, | ||
left = _getRect2.left, | ||
top = _getRect2.top, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters