How to prevent JQuery Dialog queue buildup in hover event -
when use jquery ui dialog in hover event, have following problem: after moving mouse , down list of items, event being fired after stop moving mouse, until blinks number of times hovered on items.
https://jsfiddle.net/fump59sm/
i behave way when move mouse away, stops, last 1 being 1 content of item have moved away from.
i have found behaves way, when change close destroy:
https://jsfiddle.net/fump59sm/1/
but destroy wipes off abruptly, without nice fade effect.
also when use:
close: function(){ $(this).dialog('destroy'); } doesn't solve problem, since doesn't have time disappear before enter item , dissappears on every second item:
https://jsfiddle.net/fump59sm/3/
i tried use .stop(true), no avail.
is there better way achieve (get rid of queue build up) without losing animation effect? or @ least there way add animation destroy?
Comments
Post a Comment