Fix regression in sub-menu resize
Sub-menus are reduced in height when the viewport height is reduced so the sub-menu won't fit without clipping, however it isn't increasing height when viewport height is increased. This CL fixes it, by always setting the sub menu height and toggling the overflowY behaviour (auto or scroll). Bug: 934207 Tests: Ran all browser and unit tests, added unit test. Change-Id: I33ec8720b8350924b8e631debede8cad4eb5fb05 Reviewed-on: https://chromium-review.googlesource.com/c/1481285Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Alex Danilo <adanilo@chromium.org> Cr-Commit-Position: refs/heads/master@{#634544}
Showing
Please register or sign in to comment