Skip to content

Add 'Scroll into view' option to Source panel context menu for DOM elements #51

Open
@jurijsk

Description

This feature request is part of the larger theme of context menus not being tailor for developer needs in DevTools #50.

By the nature of my current project, I have to manipulate DOM objects, is a sense that execution of the code highly depends on involved DOM object.

So the problem is that If you happen to have a local variable assigned to DOMElement to see where it is located within the document you need to do the following:

  1. Copy variable name
  2. paste it to Console
  3. Hit enter
  4. Open context menu on the result
  5. Pick Reveal in Elements panel
  6. Open Context menu again
  7. Pick 'Scroll into view' half a screen away from the current mouse position from the list of unrelated and visually similar options.

At this point, repeating the command and typing .scrollIntoView() feels line a shortcut. CUI wins over GUI.

Thank you for considering this request.

AB#39424857

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requesttrackedThis issue is now tracked on our internal backlogupstream issueThis issue exists in Chromium and is tracked on bugs.chromium.org

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions