In jQuery, how to fix a containment error while using resizable () and draggable () at the same time?

In jQuery, how do you fix a containment error while using resizable () and draggable () at the same time? It seems that left shift and top addition shift for resizable is a mistake if you use draggable on the same object. I looked this on google and several people had the same problem but no answers. If anyone could help, that would be great, it made me crazy!

Here is an example: http://www.fissiondesigns.com/simon/

Try resizing one of the fields in the image. Thanks!

+2
source share
1 answer

Look at this error. The last comment discusses the fix, so you can try it and see if it helps. It discusses the problem with top / left positioning. I had a similar problem using resizable in a scrollable div, and this fixed the problem for my use (using 1.7.3).

ui.resizable - Scroll Go around

0
source

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


All Articles