Animating menu

Is it possible to implement animating like vaadin sampler’s right side menu. (expanding/collapsing) including the left side changes to fit the screen.

https://demo.vaadin.com/sampler/

Thank you
Kevin

Yes, check for example the Animator add-on: https://vaadin.com/directory/component/animator

"Hi Joey,

The HorizontalLayout uses JavaScript to calculate the size of the layout slots it reserves for the children, at least in many cases. If you don’t have a width set for the HorizontalLayout, then it might actually adjust to the size of the children.

The Animator addon can’t really affect that."

Regarding to Jouni, I dont think it’s possible to changes the left side fit the screen.

I guess it depends on whether you want to change the layouting after showing/hiding the menu or not. If everything else stays in place, it could work.

-Olli