Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Improve scrolling/centering of nodes as you browse trees #746

Description

@bvaughn

Fix horizontal offset when nodes are selected. Selecting a node will scroll vertically devtools to ensure it's visible but not horizontally. Deep trees can be confusing in this way.

Clicking on a node in devtools that's near the boundary shouldn't jump the frame either. Only jump when an element is clicked outside.

The custom scroll to method is nice in that it maintains some padding around the top/bottom as we're scrolling, but...we can improve it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions