Is there a way to disable the animation that is triggered when you expand or collapse an accordion item.
Animation is quite slow on many android devices so I would prefer to disable transition.
If it’s a hack in the code of F7 it’s ok for me. I didn’t find how to do this efficiently.
st643
2
It’s controlled by CSS. To disable the animation:
.accordion-item-content {
transition-duration: 0s;
}
If you wanted to change the duration, you could lower transition-duration (.3s) but if it’s a slow device, it probably won’t perform much better.
1 Like
Perfect ! Thanks. Was focusing on Javascript.
1 Like