0

I am trying to remove the plus icon on a grabbing cursor on dragenter.

enter image description here

I tried:

  function dragStart(e) {
    e.dataTransfer.effectAllowed = 'none';
  }

  function dragEnter(e) {
    e.preventDefault();
    e.dataTransfer.dropEffect = 'none';
  }

which actually removes the icon but that would not allow me to drop the element.

enter image description here

Is there a way to remove the icon without restricting the element from being dropped?

Oliver Cape
  • 832
  • 10
  • 14

0 Answers0