overview: Fix using arrow keys in tablet mode.
Arrow keys cause a double selection movement in tablet mode. This was a regression caused by introducing ctrl + arrow key to move the scrollable grid. This patch fixes that by handling on key presses. Also stops scrolling if ctrl is lifted before arrow key. Test: added regression test Change-Id: I89595a37880e85cbb903b0039785b20e8f7d0f71 Fixed: 1036140 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1977843 Commit-Queue: Sammie Quon <sammiequon@chromium.org> Reviewed-by:Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#727167}
Showing
Please register or sign in to comment