debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Left side bar js / resources list - scroll into view not happening

Open ruturajv opened this issue 9 years ago • 2 comments

STR:

  1. open www.bbc.com
  2. click the any items in left
  3. use down-arrow on keyboard to select list-item below
  4. keep pressing down-arrow, soon, the selection will go below the visible pane

Expected: the selected item should be brought into view.

debugger-sidebar-scroll-into-view

ruturajv avatar Aug 11 '17 04:08 ruturajv

We've fixed this and it's broken so many times :/

The current solution relies on a set height. I think we need some logic to validate that it is correct for all the shown nodes...

https://github.com/devtools-html/debugger.html/blob/master/src/components/PrimaryPanes/SourcesTree.js#L263-L264

jasonLaster avatar Aug 11 '17 13:08 jasonLaster

closing as we're upgrading the tree component which changes this logic

jasonLaster avatar Sep 23 '17 03:09 jasonLaster