We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3ea2a0 commit 2f6011eCopy full SHA for 2f6011e
packages/react-native-web/src/exports/UIManager/index.js
@@ -82,7 +82,7 @@ const UIManager = {
82
measureInWindow(node, callback) {
83
if (node) {
84
setTimeout(() => {
85
- const { height, left, top, width } = getRect(node);
+ const { height, left, top, width } = node.getBoundingClientRect();
86
callback(left, top, width, height);
87
}, 0);
88
}
0 commit comments