diff --git a/README.md b/README.md index 1187b6c..28f4b3b 100644 --- a/README.md +++ b/README.md @@ -312,6 +312,10 @@ The number of pixels the content height can surpass the container height without When set to false, when clicking on a rail, the click event will be allowed to propagate. **Default: true** +### useSelectionScroll +When set to true, you can scroll the container by selecting text and move the cursor. +**Default: false** + ## Events perfect-scrollbar dispatches custom events. diff --git a/examples/text-content.html b/examples/text-content.html index 3fe192c..9a994f0 100644 --- a/examples/text-content.html +++ b/examples/text-content.html @@ -32,7 +32,9 @@