Open CherphAlt opened 1 year ago
PR #142
I created a new PR #144
I saw a merge Removes Qwik from documentation. Why? It works wonderfully with Qwik. A simple example looks like :-
export default component$(() => {
const parentDivRef = useSignal<HTMLDivElement>();
useVisibleTask$(() => {
if (parentDivRef.value) {
autoAnimate(parentDivRef.value);
}
});
return (
<div ref={parentDivRef}>
And this stuff animates
</div>
Please add it back 🙏🏻
I want to test it in my Qwik app, so when it will be added back?
If the issues in https://github.com/formkit/auto-animate/pull/144 are resolved then it will be added back. Last I checked that PR did not lead to a working project when you built, even with a fresh version of Qwik. The function API (autoAnimate()
) should work in Qwik just fine in the meantime though.
Happy to accept a PR for it