Akryum / Akryum/vue-virtual-scroller

Disabling child transitions

Aperta
#70 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
TypeScript
Stelle
10.8k
Fork
973
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have a few elements in my scrolled items that have animations using transitions and when the virtual scroller swaps out the items, it triggers the animations.

I've created the following css
```css
.no-transition * {
transition: none !important
}
```

To skip the transitions, I need to add the `no-transition` class to the container before the data is swapped and remove it after the data is swapped.

Is there any way to do this now or would code changes need to be made?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.