javascript - Easeljs (MovieClip) canvas draggable=true does not show ghost image -


i have canvas element has animations within facilitated easeljs. canvas element has parent div wrapping draggable set true.

<div class="outer-parent" draggable="true">   <div class="inner-parent">    <canvas></canvas>   </div> </div> 

the draggable event working (i had issues this, problem resolved here: easeljs canvas dragstart event not bubbling parent), canvas element not appear show "ghost". if add border outer-parent can see draggable moving, within border there nothing - it's 100% transparent.

i checked see whether issue specific canvas , not easeljs - appears easeljs issue ghost works fine in example: http://codepen.io/anon/pen/bnvnpr.

here example of not working easeljs , movieclipjs http://codepen.io/anon/pen/xgzwyy http://codepen.io/anon/pen/yneowb (running script exported flash)

what causing ghost not show, , how can show?

it looks though browser behaviour in chrome. of examples work expected in safari, however, in chrome there seems maximum canvas size before "drops" canvas content in ghost. example, me 200x300 canvas works.

http://codepen.io/anon/pen/pjkneq

i'm not sure how you'd work around this, since seems limitation of browser. scaling works, not ideal.

http://codepen.io/anon/pen/ynevaz


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -