Files
gerrit/polygerrit-ui/app/elements/diff/gr-diff-cursor
Wyatt Allen 315f8c2458 Do not set focus on cursor target following diff scroll
The diff cursor suspends the underlying cursor's scroll behavior while
the diff is rendering if the user scrolls the page before the render is
complete. However, when focus-on-move is enabled, the underlying cursor
also sets focus and this causes a scroll anyway. With this change the
cursor manager suspends the focus-on-move in the same way that it
suspends the scroll behavior to prevent this unwanted scroll/focus.

Bug: Issue 7390
Change-Id: I2bc7a06e940475b6b3c94995494f4207902acb40
(cherry picked from commit b8a8ededce)
2017-10-17 20:38:25 +00:00
..