[NTP] Fix flickering issue on custom background dialog
This CL modify a few event listener, using keydown event instead of keyup event making the arrow key interaction between tiles will not propagate to the menu. With this CL, when hitting arrow key on the tile will not move the scroll unless it has to eg. the next focus item located outside the current viewpoint. Screencast: https://screencast.googleplex.com/cast/NDgzNTA4MjMwOTIwNjAxNnw5NjFlYmFkZC0zNA Bug: 872601 Change-Id: I352a28dbc0a05779818ee27fd9df563114caf6c2 Reviewed-on: https://chromium-review.googlesource.com/1187236Reviewed-by:Kristi Park <kristipark@chromium.org> Commit-Queue: Weilun Shi <sweilun@chromium.org> Cr-Commit-Position: refs/heads/master@{#585917}
Showing
Please register or sign in to comment