I have a strange conflict between Pixastic and my canvas listeners.
When I use a Pixastic function on my canvas the listeners of my canvas after this operation don't work. I analyzed my canvas using the Pixastic plugin and discovered that pixastic added some attributes like tabindex (that I think conflicted with the listener).
This is my canvas before and after:
//Before
<canvas id="mycanvas" width="727" height="600" style="border: 1px solid black; left: 36.5px; top: 21px;"></canvas>
//After
<canvas id="mycanvas" class="" width="600" height="727" style="border: 1px solid black; left: 36.5px; top: 21px;" title="" tabindex="-1"></canvas>
The listeners that i use are mousedown
, mouseup
, mousemove
. Someone can help me?