logo

FUSE

DOCS

PurchaseBack to the Dashboard

FuseScrollbars

FuseScrollbars is a simple perfect-scrollbar component for react.

It can be disabled globally by Fuse Settings (app/configs/settingsConfig.tsx).

<FuseScrollbars className={classes.content}>
    Content
</FuseScrollbars>
Props
{
     className               : '',
     enable                  : true,
     scrollToTopOnChildChange: false,
     scrollToTopOnRouteChange: false,
     option                  : {
         wheelPropagation: true
     },
     ref                     : undefined,
     onScrollY               : undefined,
     onScrollX               : undefined,
     onScrollUp              : undefined,
     onScrollDown            : undefined,
     onScrollLeft            : undefined,
     onScrollRight           : undefined,
     onYReachStart           : undefined,
     onYReachEnd             : undefined,
     onXReachStart           : undefined,
     onXReachEnd             : undefined
 };