@eric-emg/symphiq-components 1.2.25 → 1.2.26

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.
@@ -21457,6 +21457,20 @@ class SymphiqFunnelAnalysisDashboardComponent {
21457
21457
  this.onContainerScroll(scrollElement);
21458
21458
  }, { passive: true });
21459
21459
  console.log('[Scroll Debug] Attached ionScroll listener to ion-content');
21460
+ // FALLBACK: Poll scroll position using requestAnimationFrame
21461
+ // This ensures we catch scroll events even if neither 'scroll' nor 'ionScroll' fire
21462
+ let lastScrollTop = 0;
21463
+ const pollScroll = () => {
21464
+ const currentScrollTop = scrollElement.scrollTop;
21465
+ if (currentScrollTop !== lastScrollTop) {
21466
+ console.log('[Scroll Debug] Polling detected scroll change:', lastScrollTop, '->', currentScrollTop);
21467
+ lastScrollTop = currentScrollTop;
21468
+ this.onContainerScroll(scrollElement);
21469
+ }
21470
+ requestAnimationFrame(pollScroll);
21471
+ };
21472
+ requestAnimationFrame(pollScroll);
21473
+ console.log('[Scroll Debug] Started scroll position polling');
21460
21474
  // Test if scroll event fires by manually triggering a test
21461
21475
  console.log('[Scroll Debug] Testing scroll event by programmatically scrolling to 1px...');
21462
21476
  scrollElement.scrollTop = 1;