There is several ways to show/hide something: display: block / display: none opacity=0% / opacity=100% move object up (down, left, right) and move to origin place scale to 0.01/ scale to 1
All this options you can try inside the interaction and find which one fit your needs. But what kind of interaction you will use - it is your choice.