Browse Source

improve slimScroll wheel step

Yuki Takei 4 years ago
parent
commit
bf5d2a0003
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/app/src/components/StickyStretchableScroller.jsx

+ 2 - 0
packages/app/src/components/StickyStretchableScroller.jsx

@@ -89,6 +89,8 @@ const StickyStretchableScroller = (props) => {
       railVisible: true,
       railVisible: true,
       position: 'right',
       position: 'right',
       height: isScrollEnabled ? viewHeight : contentsHeight,
       height: isScrollEnabled ? viewHeight : contentsHeight,
+      wheelStep: 10,
+      allowPageScroll: true,
     });
     });
 
 
     // destroy
     // destroy