Can't make jQuery UI element draggable?

I'm having problems with the drag and drop function. See the page at the link below. Scroll in the window and see what the "draggable" element does. The move area is the border of the window.

http://in-wien.com/test/draggable/bug.htm

Thanks Philipp

+4
source share
1 answer

The optional "cancel" parameter may stop it.

$('#testdiv').draggable( { stack: "#dragset div.uix", cursor: 'move', opacity: 0.5, handle: '.outbox', cancel: '.contentbox' }); 

:)

0
source

Source: https://habr.com/ru/post/1380981/


All Articles