Hello all! I am currently developing a menu element. I am trying to achieve an effect where when a button is not visible. The buttons below it scroll up and stop right under the buttons above, like showed in the picture:
I have seen this in other apps, and I was wondering how I could achieve this myself.
Take a look at putting each button in a group, and then hiding/showing the group(s) as needed rather than the button contained within the group. This way you can use the group property to collapse when hidden: