reactScrollbar icon indicating copy to clipboard operation
reactScrollbar copied to clipboard

Failed prop type: Invalid prop `style.display` supplied to `Motion`.

Open liveresume opened this issue 9 years ago • 7 comments

Failed prop type: Invalid prop style.display supplied to Motion.

When using:

            <ScrollArea
              style={{height: '100vh'}}
              verticalScrollbarStyle={{display: 'none'}}> ... 

liveresume avatar Dec 08 '16 00:12 liveresume

Same as issue #59

sizeight avatar Dec 08 '16 11:12 sizeight

How to fix this? Failed prop type: Invalid prop 'style.background' supplied to 'Motion'. My code: verticalScrollbarStyle={{ 'background': '#1d1f2d' }}

brezhitskiy42 avatar Dec 10 '16 16:12 brezhitskiy42

@sizeight Any fix in sight?

liveresume avatar Dec 13 '16 18:12 liveresume

@sizeight did a PR. I left 2 small comments and after fixing that I'll merge it. It should fix this issue ;)

souhe avatar Dec 13 '16 19:12 souhe

Great @souhe 👍

DonovanCharpin avatar Dec 13 '16 19:12 DonovanCharpin

@souhe Thank You

liveresume avatar Dec 14 '16 19:12 liveresume

Thanks to @sizeight it should be fixed since version v0.5.1 :)

souhe avatar Dec 14 '16 22:12 souhe