WebUI dialog: Pulse on container rather than frame
In FilesApp, we set |overflow: auto| on .cr-dialog-container to allow scrolling on dialogs such as the chrome web store dialog which requires scrolling to work on small screens. The pulse event when a user clicks on .cr-dialog-container causes the frame (dialog box) to increase in size by 2% for 180ms. This is causing scrollbars to flash on during that time which is not desirable. By setting the pulse to increase the entire .cr-dialog-container rather than just the frame, we get the same intended visual effect, but without scrollbar flicker. Bug: 883671 Change-Id: I3fb75bef14059bc92b8baa2367290a16b0b0e08f Reviewed-on: https://chromium-review.googlesource.com/c/1341432Reviewed-by:Naoki Fukino <fukino@chromium.org> Cr-Commit-Position: refs/heads/master@{#609185}
Showing
Please register or sign in to comment