@eric-emg/symphiq-components 1.2.23 → 1.2.24
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.
|
@@ -21392,6 +21392,42 @@ class SymphiqFunnelAnalysisDashboardComponent {
|
|
|
21392
21392
|
if (!dimensions.hasOverflow) {
|
|
21393
21393
|
console.warn('[Scroll Debug] ⚠️ WARNING: Scroll element has no overflow! Content may still be loading.');
|
|
21394
21394
|
console.warn('[Scroll Debug] The dashboard content needs to be taller than', dimensions.clientHeight, 'px to enable scrolling');
|
|
21395
|
+
// Diagnostic: Check the dashboard component's actual rendered height
|
|
21396
|
+
setTimeout(() => {
|
|
21397
|
+
const dashboardEl = this.dashboardContainer?.nativeElement;
|
|
21398
|
+
if (dashboardEl) {
|
|
21399
|
+
const styles = window.getComputedStyle(dashboardEl);
|
|
21400
|
+
console.log('[Scroll Debug] Dashboard container computed styles:', {
|
|
21401
|
+
height: styles.height,
|
|
21402
|
+
minHeight: styles.minHeight,
|
|
21403
|
+
maxHeight: styles.maxHeight,
|
|
21404
|
+
display: styles.display,
|
|
21405
|
+
position: styles.position,
|
|
21406
|
+
overflow: styles.overflow,
|
|
21407
|
+
scrollHeight: dashboardEl.scrollHeight,
|
|
21408
|
+
clientHeight: dashboardEl.clientHeight,
|
|
21409
|
+
offsetHeight: dashboardEl.offsetHeight
|
|
21410
|
+
});
|
|
21411
|
+
// Check children
|
|
21412
|
+
const children = Array.from(dashboardEl.children);
|
|
21413
|
+
console.log('[Scroll Debug] Dashboard has', children.length, 'direct children');
|
|
21414
|
+
children.forEach((child, idx) => {
|
|
21415
|
+
const childStyles = window.getComputedStyle(child);
|
|
21416
|
+
console.log(`[Scroll Debug] Child ${idx}:`, {
|
|
21417
|
+
tagName: child.tagName,
|
|
21418
|
+
height: childStyles.height,
|
|
21419
|
+
display: childStyles.display,
|
|
21420
|
+
clientHeight: child.clientHeight,
|
|
21421
|
+
scrollHeight: child.scrollHeight
|
|
21422
|
+
});
|
|
21423
|
+
});
|
|
21424
|
+
// Check if content is actually rendering
|
|
21425
|
+
const hasVisibleContent = dashboardEl.scrollHeight > 100;
|
|
21426
|
+
if (!hasVisibleContent) {
|
|
21427
|
+
console.error('[Scroll Debug] ⚠️ CRITICAL: Dashboard has minimal content! Check if funnelAnalysis data is loaded.');
|
|
21428
|
+
}
|
|
21429
|
+
}
|
|
21430
|
+
}, 100);
|
|
21395
21431
|
// Set up a MutationObserver to detect when content becomes scrollable
|
|
21396
21432
|
const observer = new MutationObserver(() => {
|
|
21397
21433
|
const newScrollHeight = scrollElement.scrollHeight;
|