Closed
Bug 1489333
Opened 6 years ago
Closed 6 years ago
Flex overlay sticks around after flex container becomes display:none
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
STR:
1. Load testcase.
2. Click "flex" badge in Inspector panel to show flex overlay.
3. Click the "Make display:none" button in the testcase.
EXPECTED RESULTS:
Overlay should go away when the element disappears.
ACTUAL RESULTS:
Overlay sticks around even though its content is gone (display:none'd).
Note: This bug seems to be specific to the flex overlay -- the grid overlay gives "expected results".
I ran into this in the wild, when using devtools' flexbox inspector to look at a video-thumbnail's title on https://www.youtube.com/ . I activated the overlay, and then I clicked the video-thumbnail. This makes YouTube set display:none on some ancestor & bring the video front-and-center. (It feels like a page-navigation, but it's not -- they just dynamically update the current page and use pushState to edit the URL, I think.)
I suspect we should fix this for the first simple version of flexbox inspector (and happily, we seem to already have a solution for this for the grid inspector, which I imagine we could apply to flex). Hence, marking as blocking bug 1470379.
Reporter | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Priority: -- → P3
Reporter | ||
Comment 2•6 years ago
|
||
Good news -- this seems to have been fixed in Nightly, presumably by one of the recent flex inspector changes.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•