How to change cursor style for react-custom-scrollbars?

前端 未结 3 667
情话喂你
情话喂你 2021-01-28 22:08

The default cursor for react-custom-scrollbars is pointer when you move your mouse on the scroll bar.

Is there a way to change cursor style?

Rig

3条回答
  •  日久生厌
    2021-01-28 22:32

    Weird! how about using some parent like .cursor-normaliizer or something. like this:

    
         

    Some content

    css:

    .cursor-normalizer div:last-child > div{ // exact selector
          cursor: default !important
    }
    

    DEMO

提交回复
热议问题