Bug 144506

Summary: Web Inspector: Improve experience when expanding an object at the bottom of the console
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, jonowells, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Joseph Pecoraro 2015-05-01 15:34:49 PDT
* SUMMARY
Improve experience when expanding an object at the bottom of the console.

If you are scrolled to the bottom of the console, and expand an object at the bottom of the console, the console grows taller and you have to manually scroll down to show the properties of the object. That manual scroll is frustrating, it should be automatic!

If you are pinned to the bottom, we should either keep you pinned to the bottom or, for a very large object it may be better to reveal content with the top of the console scrolled to the top of that element.

* STEPS TO REPRODUCE
1. js> window.navigator
2. Expand object such that the console needs to scroll
3. js> window.navigator
4. Scroll to the bottom of the console
5. Click to expand the object.
  => expected automatic scroll to reveal the properties, instead of me having to scroll

* NOTES
There are pros and cons to this. Some might want to be able to click twice to expand/collapse. That should still work, just not if you are pinned to the bottom.
Comment 1 Radar WebKit Bug Importer 2015-05-01 15:35:04 PDT
<rdar://problem/20785900>
Comment 2 Nikita Vasilyev 2015-05-01 15:50:34 PDT
We could experiment with a very quick (0.1-0.25 seconds) scrolling animation here.