@eric-emg/symphiq-components 1.2.46 → 1.2.47

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.
@@ -21425,11 +21425,7 @@ class SymphiqFunnelAnalysisDashboardComponent {
21425
21425
  }, ...(ngDevMode ? [{ debugName: "chartsById" }] : []));
21426
21426
  // Pre-computed styling classes
21427
21427
  this.headerClass = computed(() => {
21428
- const scrolled = this.isScrolled();
21429
- const baseClass = scrolled
21430
- ? (this.isLightMode() ? 'bg-white/95 backdrop-blur-xl border-b border-slate-300 shadow-lg' : 'bg-slate-900/95 backdrop-blur-xl border-b border-slate-700 shadow-2xl')
21431
- : (this.isLightMode() ? 'bg-white/90 backdrop-blur-md border-b border-slate-200 shadow-sm' : 'bg-slate-900/80 backdrop-blur-md border-b border-slate-800 shadow-lg');
21432
- return `${baseClass} transition-all duration-300`;
21428
+ return 'bg-transparent transition-all duration-300';
21433
21429
  }, ...(ngDevMode ? [{ debugName: "headerClass" }] : []));
21434
21430
  this.headerTitleClass = computed(() => this.isLightMode() ? 'text-slate-900' : 'text-white', ...(ngDevMode ? [{ debugName: "headerTitleClass" }] : []));
21435
21431
  this.headerSubtitleClass = computed(() => this.isLightMode() ? 'text-slate-600' : 'text-slate-400', ...(ngDevMode ? [{ debugName: "headerSubtitleClass" }] : []));
@@ -21662,10 +21658,21 @@ class SymphiqFunnelAnalysisDashboardComponent {
21662
21658
  // Store reference for tooltips and programmatic scrolling
21663
21659
  this.embeddedScrollContainer = scrollElement;
21664
21660
  this.tooltipService.setScrollContainer(scrollElement);
21665
- // v6 - Only attach scroll event listeners, no initial state setting
21661
+ // v6 - Attach scroll event listeners
21666
21662
  scrollElement.addEventListener('scroll', () => this.onContainerScroll(scrollElement), { passive: true });
21667
21663
  ionContent.addEventListener('ionScroll', () => this.onContainerScroll(scrollElement), { passive: true });
21668
- console.log('[SCROLL v6] Event listeners attached - header responsive to scroll');
21664
+ // Add polling as fallback since Ionic scroll events can be unreliable
21665
+ let lastScrollTop = 0;
21666
+ const pollScroll = () => {
21667
+ const currentScrollTop = scrollElement.scrollTop;
21668
+ if (currentScrollTop !== lastScrollTop) {
21669
+ lastScrollTop = currentScrollTop;
21670
+ this.onContainerScroll(scrollElement);
21671
+ }
21672
+ requestAnimationFrame(pollScroll);
21673
+ };
21674
+ requestAnimationFrame(pollScroll);
21675
+ console.log('[SCROLL v6] Event listeners and polling attached');
21669
21676
  }).catch((error) => {
21670
21677
  console.error('[SCROLL v6] Error getting Ionic scroll element:', error);
21671
21678
  });