Can I set .react-colorpicker-picker z-index by pass props?
Yaxian opened this issue · 3 comments
Yaxian commented
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.
noyobo commented
Can you provide the bad example ? use http://www.webpackbin.com/ @Yaxian
Yaxian commented
I use the lib material-ui, and the componet <Drawer />
, the Drawer's z-index is 1300
geohuz commented
Got the same issue and saw the issue by a chance, it's fine to just use the example above.