开发者

Draggable Script and Context Menu Conflict

开发者 https://www.devze.com 2023-03-11 07:32 出处:网络
I\'ve downloaded and implemented a contextual menu js script and it is working quite well, except for one hang up. It interferes with a draggable script that i also have on the page, the draggable and

I've downloaded and implemented a contextual menu js script and it is working quite well, except for one hang up. It interferes with a draggable script that i also have on the page, the draggable and contextual menu scripts operate on the same element(s).

W开发者_运维知识库hat happens is that when i click the element to drag it, it refuses to release the element from the drag operation, so it just follows my cursor forever. This doesn't happen when the contextual menu script isn't linked to the html. So i assume something regarding mouse co-ordinates is the culprit, as both scripts deal with that.

0

精彩评论

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

关注公众号