jQuery UI Drag and Drop - expand height of drop area on hover -


i trying expand height of drop area using jquery ui's drag , drop functionality , doesn't seem working expect. please see following fiddle:

http://jsfiddle.net/pn226rj9/

note expanding height 10px 120px on hover:

.ui-state-hover {     height:120px !important; } 

what expect happen when drop area height grows, becomes 'new' height of drop area , can hover on entire area while still being in hover state.

however, looks jquery remembering original height of drop area , treating de facto height regardless of change to. results in hover state going away while appearing still in drop area.

is there anyway make jquery recognize new height?

set refreshpositions attribute true...

$("#draggable").draggable({ refreshpositions: true}); 

http://jsfiddle.net/pn226rj9/3/


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -