stephenscaff / react-animated-cursor

An animated custom cursor React component.
ISC License
273 stars 28 forks source link

Style props aren't applying and are breaking the cursor #66

Open alaborde29 opened 5 months ago

alaborde29 commented 5 months ago

Hey,

When I try to use style props, the cursor breaks. no cursor appears at all.

Without any, the cursor works as intended. I tried every example cursors and the same problem appears.

I'm using NextJS. I don't know if there's a special config or not.

alaborde29 commented 5 months ago

EDIT : i think is the "color" props that make it disapearring. i'm using the "#fff" notation like in the demo but using '255, 255,255' make it work. i don't know if i'm the only one to have encountered this.

Ozneeee commented 2 months ago

@alaborde29 I think yes, the color object only support rgb.

BUT, in outerStyle and innerStyle, hex colors seems to work fine...