From 9996b1c8e34435a9d5d5b068f2a389d2c4c7d470 Mon Sep 17 00:00:00 2001 From: DanielApt Date: Mon, 22 Feb 2016 22:36:20 +0000 Subject: [PATCH] Document scrolling of children --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 59ee987..6c2d3a5 100644 --- a/README.md +++ b/README.md @@ -409,6 +409,13 @@ $(document).on('ps-scroll-x', function () { }) ``` +## Tips + +### Scrolling children inside perfect-scrollbar + +You can natively scroll children inside `perfect-scrollbar` with the mouse-wheel. Scrolling automatically works if +the child is a `textarea`. All other elements need to have the `ps-child` class. This is demonstrated in [`/examples/children-native-scroll.html`](examples/children-native-scroll.html) + ## IE Support The plugin is designed to work in modern browsers, including the very latest