fix(android): parallel navigations should not be triggered (#6275)

This commit is contained in:
Manol Donev
2018-09-18 11:25:31 +03:00
committed by Manol Donev
parent 5d16749d79
commit 405ccae80c
2 changed files with 2 additions and 2 deletions

View File

@@ -497,7 +497,7 @@ export class View extends ViewCommon {
public getLocationRelativeTo(otherView: ViewCommon): Point {
if (!this.nativeViewProtected || !this.nativeViewProtected.getWindowToken() ||
!otherView.nativeViewProtected || !otherView.nativeViewProtected.getWindowToken() ||
!otherView || !otherView.nativeViewProtected || !otherView.nativeViewProtected.getWindowToken() ||
this.nativeViewProtected.getWindowToken() !== otherView.nativeViewProtected.getWindowToken()) {
return undefined;
}