Skip to content

Commit

Permalink
Update scrollbar.md
Browse files Browse the repository at this point in the history
Fix name of directive in example
  • Loading branch information
ninamarina committed Jul 12, 2024
1 parent 771fb59 commit 77b87dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dialtone-documentation/docs/components/scrollbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Show the scrollbar when the mouse moves inside the scrollable area.

## Limitations

Adding this directive to a DOM element or a Vue component will alter the DOM structure, by adding four elements inside the one that the directive was attached to. If the scrollable region is a Vue component, it's recommended to wrap it in a `<div v-dt-scrollbars></div>`, to avoid altering the structure
Adding this directive to a DOM element or a Vue component will alter the DOM structure, by adding four elements inside the one that the directive was attached to. If the scrollable region is a Vue component, it's recommended to wrap it in a `<div v-dt-scrollbar></div>`, to avoid altering the structure
that the component needs.

The added elements are:
Expand Down

0 comments on commit 77b87dc

Please sign in to comment.