8 Feb 17:13
Why we use other div to catch mouse event
Frank Guo <fguo <at> laszlosystems.com>
2012-02-08 16:13:16 GMT
2012-02-08 16:13:16 GMT
Hi Tucker / Max,
There some bugs about mouse events handling when different components overlap.
I found one lzsprite will create another div to catch the mouse events.
Some bugs come from such mechanism. For example LPP-10120, when the function makeTextLink of text class will add a span element of the div, but such div will be overlapped by the clickdiv of the other view in lzcanvasclickdiv.
I believe there must a very reason we choose such mechanism,
could tell me the reason. And it's better to give the some suggestion to resolve such bugs.
thanks a lot
frank
There some bugs about mouse events handling when different components overlap.
I found one lzsprite will create another div to catch the mouse events.
Some bugs come from such mechanism. For example LPP-10120, when the function makeTextLink of text class will add a span element of the div, but such div will be overlapped by the clickdiv of the other view in lzcanvasclickdiv.
I believe there must a very reason we choose such mechanism,
could tell me the reason. And it's better to give the some suggestion to resolve such bugs.
thanks a lot
frank
RSS Feed