commit | 87be8f4c1eaef26b7c6d7ddb2c56d84ef504a232 | [log] [tgz] |
---|---|---|
author | calamity <calamity@chromium.org> | Mon Jul 10 03:41:35 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 10 03:41:35 2017 |
tree | 48d10ad64ebe1a599600e484cd8dae4963f696b2 | |
parent | 9106b65ff7e9eab437325d292b2dad46d29c7cb8 [diff] |
[cr-action-menu] Use clientWidth for rtl flipping. This CL fixes a bug where the action menu would use the entire body's length as the viewport when flipping coordinates in RTL. It also moves the scroll position saving into showAtPosition so that both show methods account for scroll correctly. BUG=734984 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2966163004 Cr-Commit-Position: refs/heads/master@{#485181}