Fixes bug where Omnibox input wouldn't update on selecting the first ZPS
Currently Omnibox would clear the temporary text if the first results is attempted to be selected using the arrow key. This prevents the first zero-prefix result from being selected as there is no default matches in that case. This CL fixes that by adding an extra condition to prevent selection when there's no editing. Bug: 996516 Change-Id: Idb3338fcc86233ce14f0de22dc4253691f5daf13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1845913Reviewed-by:Tommy Li <tommycli@chromium.org> Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#703487}
Showing
Please register or sign in to comment