@haloduck/ui 2.0.26 → 2.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3007,6 +3007,12 @@ class TableComponent {
3007
3007
  .subscribe(() => {
3008
3008
  this.setupIntersectionObserver();
3009
3009
  });
3010
+ // 데이터 행 렌더링 변화에 맞춰 센티널 타겟을 재지정
3011
+ this.dataRows?.changes
3012
+ .pipe(takeUntilDestroyed(this.destroyRef))
3013
+ .subscribe(() => {
3014
+ this.setupIntersectionObserver();
3015
+ });
3010
3016
  const container = this.scrollContainer?.nativeElement;
3011
3017
  this.scrollListenerTarget = container || (typeof window !== 'undefined' ? window : undefined);
3012
3018
  if (this.scrollListenerTarget) {
@@ -3038,7 +3044,7 @@ class TableComponent {
3038
3044
  this.intersectionObserver = new IntersectionObserver(this.onIntersection, {
3039
3045
  root: rootElement || undefined,
3040
3046
  rootMargin: '0px 0px 200px 0px',
3041
- threshold: 0.5,
3047
+ threshold: 0.05,
3042
3048
  });
3043
3049
  this.intersectionObserver.observe(target);
3044
3050
  });