Fix keyboard navigation for selected tile.
As top and left change for selected tile, it doesn't align with other tiles anymore. Therefore keyboard navigation doesn't work for selected tile. This CL searches for the next tile taking into account the position of the parentElement which doesn't change when the tile is selected. screencast: https://drive.google.com/file/d/1i4CeDhe3LIc-6VntqiCFoK55HT1kbNWm/view?usp=sharing Bug: 989221 Change-Id: I917467b524460ea0d31c1b74ef228a6313264126 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1727718 Commit-Queue: Gayane Petrosyan <gayane@chromium.org> Reviewed-by:Kyle Milka <kmilka@chromium.org> Cr-Commit-Position: refs/heads/master@{#682939}
Showing
Please register or sign in to comment