It doesn't seem to animate consistently from one state to the other - at times you can see multiple 'Hello!' elements.
We want the element to be the size of the content in both cases, which we can do with fit-content.
Collection
[
|
...
]
It doesn't seem to animate consistently from one state to the other - at times you can see multiple 'Hello!' elements.
We want the element to be the size of the content in both cases, which we can do with fit-content.