@eric-emg/symphiq-components 1.2.34 → 1.2.35
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.
|
@@ -21768,8 +21768,8 @@ class SymphiqFunnelAnalysisDashboardComponent {
|
|
|
21768
21768
|
clearTimeout(this.scrollTimeout);
|
|
21769
21769
|
}
|
|
21770
21770
|
// Use hysteresis (two different thresholds) to prevent bounce loop
|
|
21771
|
-
const COLLAPSE_THRESHOLD =
|
|
21772
|
-
const EXPAND_THRESHOLD =
|
|
21771
|
+
const COLLAPSE_THRESHOLD = 50;
|
|
21772
|
+
const EXPAND_THRESHOLD = 30;
|
|
21773
21773
|
const currentState = this.isScrolled();
|
|
21774
21774
|
// Determine new state based on current position and hysteresis logic
|
|
21775
21775
|
let newState = currentState;
|
|
@@ -21820,11 +21820,11 @@ class SymphiqFunnelAnalysisDashboardComponent {
|
|
|
21820
21820
|
clearTimeout(this.scrollTimeout);
|
|
21821
21821
|
}
|
|
21822
21822
|
// Use hysteresis (two different thresholds) to prevent bounce loop
|
|
21823
|
-
// When scrolling down, collapse at
|
|
21824
|
-
// When scrolling up, expand at
|
|
21825
|
-
// This
|
|
21826
|
-
const COLLAPSE_THRESHOLD =
|
|
21827
|
-
const EXPAND_THRESHOLD =
|
|
21823
|
+
// When scrolling down, collapse at 50px
|
|
21824
|
+
// When scrolling up, expand at 30px
|
|
21825
|
+
// This 20px gap prevents rapid toggling when hovering near a single threshold
|
|
21826
|
+
const COLLAPSE_THRESHOLD = 50;
|
|
21827
|
+
const EXPAND_THRESHOLD = 30;
|
|
21828
21828
|
const currentState = this.isScrolled();
|
|
21829
21829
|
// Determine new state based on current position and hysteresis logic
|
|
21830
21830
|
let newState = currentState;
|