javascript - dblclick, click and overlapping elements -
i have modal click event bound it, modal has position: absolute , highest z-index value. modal floating above element has dblclick event bound it.
the issue when double click modal, click event fired , modal closed (that's fine), , second click on element modal floating above, , element has dblclick event fired, not wanted.
simplified fiddle: http://jsfiddle.net/4h2bx/1/
edit:
i want emphasize fact modal not aware of element floating above, cannot temper element's dblclick event
Comments
Post a Comment