Great guide! Just wanted to add that in the first iteration of your dragOver handler you are not calling dragEvent.preventDefault(). You do add it later, but this tripped me up as I was following along
and not setting the preventDefault actually breaks the dropping behavior.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great guide! Just wanted to add that in the first iteration of your
dragOver
handler you are not callingdragEvent.preventDefault()
. You do add it later, but this tripped me up as I was following alongand not setting the preventDefault actually breaks the dropping behavior.