@cntrl-site/sdk-nextjs 1.9.14-0 → 1.9.14-1
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.
|
@@ -140,9 +140,8 @@ class InteractionsRegistry {
|
|
|
140
140
|
return triggerPosition;
|
|
141
141
|
}
|
|
142
142
|
isItemScrollTriggerOnStartScreen(trigger) {
|
|
143
|
-
const screenHeight = window.innerHeight;
|
|
144
143
|
const triggerPosition = this.getTriggerPositionForItemScrollTrigger(trigger);
|
|
145
|
-
return triggerPosition <
|
|
144
|
+
return triggerPosition < 0;
|
|
146
145
|
}
|
|
147
146
|
notifyLoad() {
|
|
148
147
|
var _a, _b;
|
package/package.json
CHANGED
|
@@ -152,9 +152,8 @@ export class InteractionsRegistry implements InteractionsRegistryPort {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
isItemScrollTriggerOnStartScreen(trigger: InteractionItemScrollTrigger): boolean {
|
|
155
|
-
const screenHeight = window.innerHeight;
|
|
156
155
|
const triggerPosition = this.getTriggerPositionForItemScrollTrigger(trigger);
|
|
157
|
-
return triggerPosition <
|
|
156
|
+
return triggerPosition < 0;
|
|
158
157
|
}
|
|
159
158
|
|
|
160
159
|
notifyLoad() {
|