iPolloWork icon indicating copy to clipboard operation
iPolloWork copied to clipboard

[Bug] Automation Day Planner animates an unselectable pseudo-element target

Open yuuu125 opened this issue 4 months ago • 0 comments

Background and impact

The newly bundled Automation Day Planner video template defines the diamond marker for each agenda item with the CSS pseudo-element .dp-job::before, but its GSAP timeline tries to animate that pseudo-element with a plain selector:

tl.from(.dp-job::before, { scale: 0, stagger: 2.55, duration: .3 }, 1.9)

Pseudo-elements are not DOM nodes and cannot be selected by querySelector/GSAP’s normal CSS selector target resolution. Consequently this timeline tween has no target (or emits a GSAP target warning) and the intended marker animation is skipped in the rendered video.

Affected module

  • apps/server/bundled-templates/ipollowork.hyperframes.automation-day-planner/index.html

Steps to reproduce

  1. Open the Automation Day Planner bundled video template.
  2. Preview or render the template timeline.
  3. Observe the four diamond markers alongside the agenda entries while the job cards animate in.

Expected behavior

Each agenda marker should animate according to the timeline, without GSAP reporting an unresolved target.

Actual behavior

The cards use .dp-job DOM elements, while the marker is created only through .dp-job::before. The .dp-job::before tween cannot resolve an animatable DOM target, so that animation does not run.

Suggested investigation

Replace the pseudo-element markers with real decorative child elements and animate those, or animate a CSS custom property on .dp-job that drives the pseudo-element. Add a focused template/runtime check that rejects GSAP tweens targeting ::before or ::after unless a supported plugin strategy is used.

yuuu125 avatar Jul 29 '26 08:07 yuuu125