SideMenu untoggling problem with refreshing layout

Hi everyone,

When untangling the side-menu, there is more space left. However the work area component don’t expand right after hiding the side menu. On browser refresh, the components in the work area are expanded.

On the PetClinic project, we can see the problem on the Visits screen. If we hide the side menu, then we can see that the work area doesn’t refresh to use all the space.

How can I programmatically refresh the browser or the work area ?