Can't click inside an item
kaloudiyi opened this issue · 2 comments
kaloudiyi commented
I would like manage the click inside an item and update some of their properties. The events doesn't respond when there are located inside items. It's difficult to do that with the only one onClick event of the Masonry component.
How can I do this ?
afram commented
Hi @kaloudiyi
You should be able to attach event listeners to each item. Do you have a code sample we can refer to?
kaloudiyi commented
I wrote a simple example and "good surprise for me" it worked. So the problem is in my code. Thanks :-)