stopPropagation() prevents animation of playing on current item

Hello there,

Our team is building an app that interacts with Webflow Animations. We have encountered an issue that prevents the animation from playing. This is not the normal behavior when adding a listener to animations in JavaScript. We are unsure how Webflow handles this.

When we add event.stopPropagation() to any element that has on-click animation, it doesn’t play the animation. This behavior is unexpected, as event.stopPropagation() is not supposed to block the current clicked element rather the elements until upper the parent.

Is this a known issue, or is there a way around it?