vigetlabs/react-ink

Doesn't seem to be working

mnemanja opened this issue · 4 comments

Latest chrome, react v15.4.2.

The canvas element gets applied, but when I click it nothing happens.
The Readme file is so slim and concise that I thought it should be easy but that doesn't seem to be the case.

Hmm. I just upgraded the example to 15.4.2, no issues. Would you be willing to provide me some sample code for how you are using react-ink?

@nhunzaker ,
Unfortunately I currently lack time to devote to this issue. As far as I'm concerned this issue can stay open or closed for others to interact with.

Cheers,
Nemanja

Okay. I'll go ahead and close this then, if it crops up, we'll take a look!

I might have the same issue.

I had it working inside a <div>, but I replaced the <div> with a <button> and it stopped working.

Here's my code:

<button style={{position: 'relative', width: '100px', height: '100px'}}> <Ink/> </button>

and:

$ npm list react-ink
myproj@0.1.0 /Users/me/Code/projects/proj
└── react-ink@6.4.0