From e7045fe842d8cc58e8dde810e1bd4bc7edc36d55 Mon Sep 17 00:00:00 2001 From: vinicius-guedes-brisa Date: Tue, 10 Dec 2024 10:30:00 -0300 Subject: [PATCH] fix: host change validation --- projects/ion/src/lib/tour/tour-step.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/ion/src/lib/tour/tour-step.directive.ts b/projects/ion/src/lib/tour/tour-step.directive.ts index ae3e95741..6cb6dc945 100644 --- a/projects/ion/src/lib/tour/tour-step.directive.ts +++ b/projects/ion/src/lib/tour/tour-step.directive.ts @@ -226,7 +226,7 @@ export class IonTourStepDirective implements OnInit, OnChanges, OnDestroy { private hostPositionChanged(): boolean { const newPosition = this.elementRef.nativeElement.getBoundingClientRect(); - return ( + return !( this.hostPosition && newPosition && this.hostPosition.x === newPosition.x &&