Closed rogozinds closed 6 years ago
The issues in this repository are considered obsolete. If this issue is still relevant, please comment that it should be moved to the correct repository. This can also be done by opening a new ticket in vaadin/framework.
Description When item in the grid is selected and you call scrollTo() to the item above it, grid selects all items in range between your selected item and the item you scroll to.
Browsers Chrome, Firefox
Example: @Override protected void init(VaadinRequest vaadinRequest) { Grid grid = new Grid();
grid.addColumn(String::toString);
ArrayList items = new ArrayList<>();
Way to reproduce: Run example. Click about 10 times on the button, to add 10 items in the grid. Select the last item in the grid. Click add button Again.
Expected behaviour: Just scroll without any selection.