You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, just checking out your plugin. Nice! I've been working on something similar recently (though without user configurable templates) and have found that setting x-init with next tick seems to work for getting transitions working within an x-if/for.
Is that something you might consider adding as it seems that I can't get the transitions working within the template with yours.
The trick that worked for me was doing this when applying transition attributes: element.setAttribute('x-init', $nextTick(() => {${showString} = true}));
The text was updated successfully, but these errors were encountered:
That made me realize that I didn't test the plugin within a template x-if/for, I apologize for the inconvenience.
I think that's a viable workaround until we come up with a proper fix. I will try to debug it when I'm free next month, or you can make a PR for this issue. I would appreciate that.
Hi there, just checking out your plugin. Nice! I've been working on something similar recently (though without user configurable templates) and have found that setting x-init with next tick seems to work for getting transitions working within an x-if/for.
Is that something you might consider adding as it seems that I can't get the transitions working within the template with yours.
The trick that worked for me was doing this when applying transition attributes:
element.setAttribute('x-init',
$nextTick(() => {${showString} = true}));
The text was updated successfully, but these errors were encountered: