Anime.js / Vue – Transform/translate not working as expected
I’ve got this notifications container below. <template> <TransitionGroup v-for=”(containerPosition, index) in CONSTANTS.POSITIONS” ref=”notificationsContainersEl” :key=”index” :class=”classes(containerPosition)” :data-position=”containerPosition” tag=”ul” :css=”false” @enter=”onEnter” @leave=”onLeave”> <UNotification v-for=”notification in cLimitedNotifications[containerPosition]” :key=”notification.id” v-bind=”notification” tag=”li” role=”listitem” @close=”onClose” @timeout=”onTimeout” /> </TransitionGroup> </template> And the following onEnter function const onEnter = (el, done) => { const parent = el.parentElement const siblings = getSiblingsBefore(el) adjustContainerHeight(parent) const … Read more