sagalbot / breeze

💨 A tiny library to transition your DOM elements as they become visible in the viewport.
https://codepen.io/sagalbot/pen/wvWgdjm
29 stars 0 forks source link

[bug]: x-breeze-to #6

Open sagalbot opened 3 years ago

sagalbot commented 3 years ago

The x-breeze-to directive is broken when used on it's own.

      <h2
        class="w-full text-center text-white z-10 text-4xl transition delay-1000 transform"
        x-breeze-to="-translate-y-64"
      >
        This will not animate.
      </h2>
sagalbot commented 3 years ago

This is because invisible is set on the element to prepare for an entrance.