开发者

In jQuery, How to fix containment bug when using resizable() and draggable() simultaneously? [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help ma开发者_如何学运维king this question more broadly applicable, visit the help center. Closed 10 years ago.

In jQuery, How do you fix containment bug when using resizable() and draggable() simultaneously? It seems as though the left offset and top offset of the containment for resizable is buggy if you use draggable on the same object. I have looked this up on google and a few people had the same problem, but no answers. If anyone could help it would be great, this is driving me nuts!!

Heres an example: http://www.fissiondesigns.com/simon/

Try resizing one of boxes on the image. Thanks!


Have a look at this bug. The last comment discusses a fix, so you might try it and see if it helps. It discusses an issue with top/left positioning. I had a similar issue using resizable within a scrollable div and this fixed the problem for my use (using 1.7.3).

ui.resizable - Scroll Jump Around

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜