mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(android): parallel navigations should not be triggered (#6275)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user