milosjanda / react-scroll-up

React component to add custom buttons for scrolling to top of page
MIT License
175 stars 28 forks source link

style props should be merged instead of overwritten #23

Closed therealgilles closed 7 years ago

therealgilles commented 7 years ago

I was trying to add a zIndex style prop and discovered that default style props get overwritten. It would be better if they were merged. Great little React component still!

milosjanda commented 7 years ago

Yes, it is a bug and it was fixed in last update v1.3.1.