@vectoriox/iox-builder 1.4.70 → 1.4.71

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.
@@ -1258,11 +1258,12 @@ class InteractionEngineService {
1258
1258
  const cleanups = [];
1259
1259
  for (const ix of node.interactions) {
1260
1260
  // Pre-state: hide target elements before their entrance animation fires.
1261
- // In builder mode, pageLoad and scrollProgress are suppressed so their
1262
- // targets must not be pre-hidden (would stay permanently hidden).
1263
- // viewportEnter IS active in builder mode so its pre-state is applied normally.
1264
- // Click/hover triggers are always active.
1265
- const skipPreState = inBuilder && ix.trigger === 'pageLoad' || inBuilder && ix.trigger === 'scrollProgress';
1261
+ // In builder mode: skip pre-state for all auto-fire triggers (pageLoad,
1262
+ // viewportEnter, scrollProgress) — they would stay permanently hidden if
1263
+ // the trigger is suppressed or the canvas scroll container doesn't expose
1264
+ // a standard browser viewport for IntersectionObserver.
1265
+ // Click/hover triggers are always active so their pre-state is applied.
1266
+ const skipPreState = inBuilder && ix.trigger !== 'click' && ix.trigger !== 'hover';
1266
1267
  if (!skipPreState) {
1267
1268
  for (const action of ix.actions) {
1268
1269
  if (this.ENTRANCE_TYPES.has(action.type)) {