diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2019-12-03 13:13:49 +0200 |
---|---|---|
committer | Tatu Lund <tatu@vaadin.com> | 2019-12-03 13:13:49 +0200 |
commit | 4dc4f83865d72fc3d56a96a4a01db1a36e959908 (patch) | |
tree | b76a96017a6af9a53560fd5306b893b51b8e7e9e /server | |
parent | 252ef116342a6b0363b48d157de33a932d44752f (diff) | |
download | vaadin-framework-4dc4f83865d72fc3d56a96a4a01db1a36e959908.tar.gz vaadin-framework-4dc4f83865d72fc3d56a96a4a01db1a36e959908.zip |
Simplify Grid scroll handling. (#11835)
If first attempt at scrolling doesn't succeed it's unlikely that
continuing to wait is going to make any difference. Cache should be
populated before triggering any actions that depend on the row being
visible, otherwise it should be enough to trust that scrollToRow
actually scrolls to row and once scrolling is done the row is as much in
view as it's going to get. This way we don't get into a situation where
Editor never opens because it's still waiting for that one last pixel
that can't be achieved thanks to browser zoom causing rounding errors.
Continues on #11672
Diffstat (limited to 'server')
0 files changed, 0 insertions, 0 deletions