KineticJS icon indicating copy to clipboard operation
KineticJS copied to clipboard

creation on context menu for a rectangle container

Open hollaajay opened this issue 10 years ago • 0 comments

I have around 25 different rectangle inside a container. But while creating a context menu i am getting a trouble here. I could create a context menu by selecting a id of the container and it's applying to the whole rectangle. But i have different context menu for each rectangle. Kindly help me on this. you can check my code here : http://jsfiddle.net/ajayholla/nusbz3t6/13/

Here the main problem is when you click on rectangle its showing that context menu and affecting all other. once refresh the page then again click other rectangle that context menu will activate and that would affect the whole container.

hollaajay avatar Jan 22 '15 20:01 hollaajay