Skip to content

[TreeView] Add area for dragHandle to be shown before the expand/collapse toggle #4542

Description

@ayy-bc
  • add an area in the grid to add the drag handle (before any other icon/button/component)
  • drag handle should be visible when hovering over the TreeView.Item
  • only take up the space if drag handle is passed from the consumer to tree view
  • when drag handle is passed from consumer, shift child level items to match alignment

https://github.com/github/github/pull/321236/files#diff-785247148fc29c46a71b4de392214511ae6709b4516cc4e921d5e9b37b5a23d3

showing a drag handle in front of Item 1

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions