X
X
Xubunter2019-06-05 20:09:59
css
Xubunter, 2019-06-05 20:09:59

How to add vue.js block resize animation?

There is a block with a list and several filters for displaying this list. Switching between filters changes the number of list items and the block size. How can I add smoothness to block resizing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-06-05
@Xubunter

Wrap the list in a transition-group and animate the resizing of the list items as they appear/disappear. For example .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question