Extension popup gets clipped if content changes while animating slide down
Reported by
peter.m....@gmail.com,
Feb 17 2018
|
||||||
Issue descriptionChrome Version : 64.0.3282.167 OS Version: OS X 10.13.2 URLs (if applicable) : N/A Other browsers tested: Chrome 49 on Windows 7 OK (not reproducible here, seems to animate differently) What steps will reproduce the problem? 1. Install this repo https://github.com/mrcoles/test-chrome-extension-sandbox 2. Load as an unpacked extension 3. Go to any page, e.g., https://google.com/ 4. Click the extension or reload the page and try again until you see it load as a clipped popup What is the expected result? The popup should *always* slide down to show its full content. What happens instead of that? Please provide any additional information below. Attach a screenshot if possible. After a brief timeout (30ms works pretty well), I hide some content inside the popup and then show new content with that makes it taller than its original size. This seems to non-deterministically trigger a scenario where the popup does not finish animating its slide down and shows up in a weird clipped state that it remains in until its content changes once more. See the attached files for what this looks like. This seems to have been around for quite a long time on my Mac. I tested it on Chrome 49 on a Windows 7 machine and it didn’t happen, but it appears to do a fade-in instead of a slide-down. I wonder if that makes a difference. UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
,
Feb 18 2018
,
Feb 19 2018
Unable to reproduce the issue on chrome reported version 64.0.3282.167 using Mac 10.13.1 with steps mentioned below: 1) Launched chrome reported version and installed the extension from URL: https://github.com/mrcoles/test-chrome-extension-sandbox 2) Loaded the extension from unpacked extensions from Chrome://extensions by enabling developer mode 3) Navigated to https://google.com/, and clicked on extension, Observed the extension popup without any clipped data even after refreshing the page. @Reporter: Please find the attached screen cast for your reference and let us know if we missed anything in reproducing the issue, please provide your inputs on it which help in further triaging it. Thanks!
,
Feb 28 2018
I’m unable to deterministically get it to happen. It seems like there’s some level of randomness as to when it happens or not, which feels to me like some kind of async race condition between the triggering of the slide down animation and the content of the popup html changing.
,
Feb 28 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Mar 8 2018
peter.m.coles@ Thanks for the feedback. Retried the issue on Mac OS 10.12.6 on the reported version 64.0.3282.167 and the latest canary 67.0.3364.0 and able to reproduce the issue, but the issue is inconsistent. Issue is not observed on Windows 10 and Ubuntu 14.04. On clicking on the extension icon, can observe that the popup is sometimes chopped. Attached is the screen cast for reference. This is a Non-Regression issue as this behavior is observed from M60 Chrome builds. Hence marking this as Untriaged for further updates from Dev. Thanks..
,
Mar 26 2018
Is there a way for me to update the original message? I want to link to this repo https://github.com/mrcoles/test-chrome-extension-popup-animate instead.
,
Mar 26 2018
peter...@ It should be possible in top right of the report by clicking on "Edit description".
,
Mar 26 2018
I’m not seeing the option to “Edit description”. I can delete my comments and I can delete attachments, but I’m not seeing the edit description option. To try and mitigate having the wrong link, I added a link in the README of the originally linked repo to point to the proper repo.
,
Nov 23
*** Mass UI Triage *** We were unable to reproduce this bug. If this bug still reproduces for you, please reopen or file a new issue. Thanks! |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by meh...@chromium.org
, Feb 18 2018