inspect(domElement) does not scroll to the right position
Categories
(DevTools :: Inspector, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: dainius.dauksevicius, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
- Open some webpage.
- Open DevTools > Console.
- In the console evaluate
inspect($('body'))
.
Actual results:
In v72:
Inspector scrolled to the node so that it is at the top, but did not take into the account search bar at the top, so selected node is behind the search and needs to be scrolled one line to be seen.
in dev and nightly:
Inspector scrolled to the bottom regardless of where the selected node is.
Expected results:
Ideally, I would expect inspected node to be selected and scrolled a couple of line away from the top, so I could see what's before the node (like in chrome)
Comment 1•5 years ago
|
||
This is calling an inspector function in the end (devtools/client/inspector/inspector.js#1990-2012 ), so I'm moving this to the inspector component.
Comment 2•5 years ago
|
||
Thanks for filing Dar, and sorry about the delay getting to this bug. Could you please provide a screenshot that explains what you mean by scrolling the inspector? I just to make sure I understand what the problem is.
Updated•5 years ago
|
Comment 3•2 years ago
|
||
Clear a needinfo that is pending on an inactive user.
Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE
.
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Description
•