Akryum / Akryum/vue-virtual-scroller

Disabling child transitions

未關閉
#70 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
TypeScript
星號
10.8k
分支
973
PR 合併指標
30 天內沒有已合併 PR

描述

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?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。