How to make vaadin grid responsive.

I can’t figure out how to make the vaadin grid fill all the screen width like the vaadin demo.
https://demo.vaadin.com/commit-browser/

In my example the grid doesn’t follow the screen width when the window is resized.

grid = new Grid<>(GridMemberDTO.class);
grid.setResponsive(true);
grid.setSizeFull();
grid.setHeight("400px");

VerticalLayout v = new VerticalLayout();
v.setResponsive(true);
v.setWidth("100%");
v.addComponent(grid);
v.setExpandRatio(grid, 1f);
addComponent(v);

There is any property to configure the width auto adjust in the grid or I need to implement my event resize?