Fix bottom toolbar showing while in fullscreen
This patch fixes an issue with the bottom toolbar when entering fullscreen while the keyboard is visible. To conserve space while the keyboard is showing, the bottom controls height is set to 0 and reset when the keyboard is hidden. This does not account for fullscreen mode, so when the keyboard is hidden it blindly tells the controls to become visible again. This patch adds logic to update the bottom toolbar when the controls height is restored and only conditionally shows the toolbar if another browser feature isn't blocking it. Bug: 872323 Change-Id: Ic3f33fcd7ae207415a5d36b56dba86ec216d3a51 Reviewed-on: https://chromium-review.googlesource.com/1167997Reviewed-by:Pedro Amaral <amaralp@chromium.org> Commit-Queue: Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#581903}
Showing
Please register or sign in to comment