Skip to content

Commit

Permalink
fix: host change validation
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicius-guedes-brisa committed Dec 10, 2024
1 parent cd21a29 commit e7045fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ion/src/lib/tour/tour-step.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit e7045fe

Please sign in to comment.