<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
一旦我拖动的元素离开了具有绝对定位的父元素,我就看不到它们了。 (在移动时看不到可拖动的助手)
查看 http://nairobi.io/tests/jquery-ui-draggable 中的示例 请帮我解决这个问题。
最佳答案
您在可拖动初始化程序(第 138 行)中将“appendTo”拼错为“apendTo”,这意味着没有将助手添加到正确的位置。
关于javascript - jQuery UI Draggable - 超越绝对定位的拖动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30834658/