Add handler for scrollToTop behaviour in NTP
Previously, scrollToTop while the omnibox is focused would scroll to the top and 2 omnibox would be visible. Now, first unfocus omnibox, then allow scrollToTop. Before: https://drive.google.com/file/d/1zn69R672sRTRe6GG3s4Mc7WVo2Q6G4xo/view?usp=sharing After (Patchset 1-6) : https://drive.google.com/file/d/1fiiZZBwWfXb7gb66dCfOwW6yGSBemayi/view?usp=sharing After stuttering fix (Patchset 7+) : https://drive.google.com/file/d/1A2FavkilxFqFVFjh2A5wN0SATsrMENGx/view?usp=sharing Change-Id: I3c026bb800a243ef0bab150cfac4f696bbb14c40 Bug: 965473 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2201896 Commit-Queue: Maxime Charland <mcharland@google.com> Reviewed-by:Gauthier Ambard <gambard@chromium.org> Reviewed-by:
Tommy Martino <tmartino@chromium.org> Cr-Commit-Position: refs/heads/master@{#770853}
Showing
Please register or sign in to comment