stephenscaff / react-animated-cursor

An animated custom cursor React component.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Style props aren't applying and are breaking the cursor

alaborde29 opened this issue · comments

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.

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.

commented

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

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