* Bump react native to 0.73.6 * iOS changes * Fix gallery * Fix test * Add missing patch * Unify react native navigation patch * Update the rest of libraries * iOS updates * Update mattermost libraries * Fix tests and final bumps * iOS podfile update * Update android locks * Revert webrtc update because it was messing with the tests * Update podfile for webrtc
25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
diff --git a/node_modules/react-native-walkthrough-tooltip/src/tooltip.js b/node_modules/react-native-walkthrough-tooltip/src/tooltip.js
|
|
index 3098692..a966dfb 100644
|
|
--- a/node_modules/react-native-walkthrough-tooltip/src/tooltip.js
|
|
+++ b/node_modules/react-native-walkthrough-tooltip/src/tooltip.js
|
|
@@ -216,7 +216,7 @@ class Tooltip extends Component {
|
|
this.setState(
|
|
{
|
|
windowDims: dims.window,
|
|
- contentSize: new Size(0, 0),
|
|
+ // contentSize: new Size(0, 0),
|
|
adjustedContentSize: new Size(0, 0),
|
|
anchorPoint: new Point(0, 0),
|
|
tooltipOrigin: new Point(0, 0),
|
|
@@ -272,9 +272,9 @@ class Tooltip extends Component {
|
|
this.childWrapper.current &&
|
|
typeof this.childWrapper.current.measure === 'function'
|
|
) {
|
|
- this.childWrapper.current.measure(
|
|
+ this.childWrapper.current.measureInWindow(
|
|
(x, y, width, height, pageX, pageY) => {
|
|
- const childRect = new Rect(pageX, pageY, width, height);
|
|
+ const childRect = new Rect(x, y, width, height);
|
|
if (
|
|
Object.values(childRect).every(value => value !== undefined)
|
|
) {
|