Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed May 23, 2024
1 parent d3fb997 commit afad228
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ By default, the indentation of nested items is applied by the `groupTransition`
This approach is not compatible with upcoming features like the reordering of items using drag & drop.
To apply the indentation at the item level (i.e.: have each item responsible for setting its own indentation using the `padding-left` CSS property on its `content` slot),
you can use the `indentationAtItemLevel` experimental feature:
you can use the `indentationAtItemLevel` experimental feature.
It will become the default behavior in the next major version of the Tree View component.
{{"demo": "IndentationAtItemLevel.js"}}
Expand Down

0 comments on commit afad228

Please sign in to comment.