Open
Bug 1388248
Opened 8 years ago
Updated 3 years ago
Scroll when expanding last message ObjectInspector
Categories
(DevTools :: Console, enhancement, P2)
DevTools
Console
Tracking
(firefox57 affected)
NEW
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | affected |
People
(Reporter: nchevobbe, Unassigned)
Details
Steps to reproduce:
1. Open the console
2. Log multiple messages so you have a scrollbar in the console output
3. Log `({a: 1})`
4. Expand the object
Expected results:
The properties of the expanded object are visible
Actual results:
The properties are under the fold.
---
We could try to scroll the expanded node on the top of the console output.
This needs hooks in the ObjectInspector component (onNodeExpand, onNodeCollapse, …) that we could use in the console to scroll the properties into view.
| Reporter | ||
Updated•8 years ago
|
Priority: -- → P2
Whiteboard: [console-html][triage]
Updated•8 years ago
|
Flags: qe-verify?
Priority: P2 → P4
Whiteboard: [console-html][triage] → [reserve-console-html]
| Reporter | ||
Updated•8 years ago
|
Summary: Scroll when expanding the ObjectInspector → Scroll when expanding last message ObjectInspector
| Reporter | ||
Comment 1•8 years ago
|
||
I have another case, which sounds more like a bug.
Steps to reproduce:
1. Go to `data:text/html,<script>for (i =0; i < 100; i++) {console.log("item", i)}</script><ol>Steps to reproduce:<li>Open the console</li><make sure you're scrolled at the bottom</li><li>Click on this button <button onClick="console.dir({a: 1, b: 2});">Add console.dir<button></li><li>Click on this button <button onClick="console.dir({a: 1, b: 2});">Add console.dir<button>`
2. Follow the instructions
Expected results:
When clicking the second button, the console is scrolled to the bottom
Actual results:
The console does not scroll (I only see the top of the first console.dir log)
---
Because the first console.dir expands, the console is not scrolled to the bottom anymore, and when clicking on the second button, our `shouldScrollToBottom` function returns false.
Updated•8 years ago
|
Flags: qe-verify?
Priority: P4 → P2
Whiteboard: [reserve-console-html] → [newconsole-mvp]
Updated•8 years ago
|
Whiteboard: [newconsole-mvp]
| Reporter | ||
Comment 2•8 years ago
|
||
Filed Bug 1447041 for Comment 1
Updated•7 years ago
|
Product: Firefox → DevTools
| Reporter | ||
Updated•7 years ago
|
Type: defect → enhancement
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•