after switching from Inspector to another devtools tab and back, on some pages, the scroll position is reset
Categories
(DevTools :: Inspector, defect)
Tracking
(Not tracked)
People
(Reporter: jaborandi, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0
Steps to reproduce:
- go to google.com
- right-click the magnifier icon in the search bar and click Inspect
- switch to Console tab
- switch back to Inspector tab
Actual results:
on step 4 html inspector is scrolled to the top, with selected (highlighted with blue) element down behind the visible area
Expected results:
scroll position in Inspector should have remained unchanged
note: the bug is intermittent, at some point it Inspector may suddenly start maintaining the scroll position, if this happens - reload the page and try again
first i thought that modification of the DOM triggers this, but i tried doing it on a simple page without this bug - and it still doesn't have it
| Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Inspector' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
Thanks jaborandi for the report.
This looks a lot like Bug 1946690 , which was fixed in Firefox 137.
Could you try your case on Nightly and check it's fixed?
Thanks
| Reporter | ||
Comment 3•1 year ago
|
||
:nchevobbe yes, it seems to be fixed in 137
thank you!
Comment 4•1 year ago
|
||
Great! Let's close this bug then
Description
•