react-component/color-picker

Can I set .react-colorpicker-picker z-index by pass props?

Yaxian opened this issue · 3 comments

Hi, I want to set the z-index of picker, so I want to set like follwing:

            <ColorsPicker
              color={ '#36c' }
              onChange={ (colos) => console.log(colos) }
             style={{ zIndex: 9999 }}
            />

cause the default z-index is 1000, it will work bad sometimes.

Can you provide the bad example ? use http://www.webpackbin.com/ @Yaxian

I use the lib material-ui, and the componet <Drawer />, the Drawer's z-index is 1300

Got the same issue and saw the issue by a chance, it's fine to just use the example above.