commit | 0dbbed4cc68e89a553b4511fa3687937ba58f5fb | [log] [tgz] |
---|---|---|
author | Moe Ahmadi <mahmadi@chromium.org> | Wed Feb 20 23:50:43 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 20 23:50:43 2019 |
tree | 80d403b53c879b9c5c3515e6c89b13584494efd9 | |
parent | cbe2f0f148c716d10cd6e7e13ab6c6804ad80e3e [diff] |
[iOS][Translate] Fixes hiding the translate infobar in fullscreen mode. The infobar's bottom padding was not being properly adjusted when entering and exiting the fullscreen mode rapidly and frequently while it worked fine when scrolling up/down slowly. This CL fixes that issue by forcing the parent view of the infobar to lay out its subviews immediately when the bottom padding is updated. When updating constraint constants in an animation block, the parent view must lay out its subviews for the change to properly animate. Bug: 910994 Change-Id: Ia64307c628bbbdf35c40c926776485f07b4a38cd Reviewed-on: https://chromium-review.googlesource.com/c/1479932 Auto-Submit: Moe Ahmadi <mahmadi@chromium.org> Reviewed-by: Kurt Horimoto <kkhorimoto@chromium.org> Reviewed-by: Sergio Collazos <sczs@chromium.org> Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#633953}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .