Closed
Bug 1427392
Opened 8 years ago
Closed 8 years ago
Scroll into view the grid container when clicking on the inspect icon
Categories
(DevTools :: Inspector, enhancement, P3)
DevTools
Inspector
Tracking
(firefox59 fixed)
RESOLVED
FIXED
Firefox 59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: gl, Assigned: gl)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
2.34 KB,
patch
|
Details | Diff | Splinter Review | |
59 bytes,
text/x-review-board-request
|
pbro
:
review+
|
Details |
In the list of grid containers, we have the inspect icon button next to each grid container Rep that shows the box model highlighter when mouseover and on click it selects the node in the markup view.
This is to add a scrollIntoView of that node when the inspect icon button is also clicked.
Assignee | ||
Comment 1•8 years ago
|
||
Assignee | ||
Comment 2•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8939881 [details]
Bug 1427392 - Scroll into view the grid container when clicking on the inspect icon.
https://reviewboard.mozilla.org/r/209534/#review215878
::: devtools/client/inspector/grids/components/GridItem.js:120
(Diff revision 1)
> + setSelectedNode(nodeFront, "layout-panel");
> + nodeFront.scrollIntoView();
Both of these return promises that you should catch: `.catch(e => console.error(e))`.
Attachment #8939881 -
Flags: review?(pbrosset) → review+
Pushed by gabriel.luong@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d27d6f4af560
Scroll into view the grid container when clicking on the inspect icon. r=pbro
![]() |
||
Comment 6•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•