javascript - elementFromPoint select bottom element

后端 未结 2 805
广开言路
广开言路 2020-12-09 20:06

I\'m working on this drag and drop application with jquery/javascript, and I\'m having to use a balance of the two to accomplish what I want.

var drop = docume

2条回答
  •  臣服心动
    2020-12-09 20:50

    If you can dispense with older browsers, the following CSS will work:

    Just apply this rule to your to your topmost element that is being dragged.

    #dragging {
      pointer-events: none;
    }
    

提交回复
热议问题