reactScrollbar icon indicating copy to clipboard operation
reactScrollbar copied to clipboard

contentStyle property breaks with latest version of dependency react-motion

Open sizeight opened this issue 10 years ago • 4 comments

See Upgrading from 0.3.* to 0.4.0 for react-motion

https://github.com/chenglou/react-motion/wiki#upgrading-from-03-to-040

Motion's style now only takes values intended to be interpolated. Previously it allowed you to pass {x: spring(0), y: 'randomUnrelatedStuffHere'}. This is now disallowed. Simply pass them to the component you're styling in your children function.

sizeight avatar Oct 18 '16 12:10 sizeight

I may be running into this as well, not sure if it's the same problem. To replicate, try setting contentStyle={{ minHeight: '100%' }}.

alexyaseen avatar Oct 25 '16 17:10 alexyaseen

@alexyaseen Yes, you are experiencing the same issue. I have fixed the issue and submitted a pull request.

sizeight avatar Oct 26 '16 13:10 sizeight

@souhe what's involved in getting this pulled in?

alexyaseen avatar Oct 27 '16 00:10 alexyaseen

Scrollbar stopped working because of styles not accepting string values like: {height: 'auto'; width: '100%';}

janejanejane avatar Nov 17 '16 22:11 janejanejane