There are additional icons into the drag helper if into the nodeContentTemplate there are spans
dkamburov opened this issue · comments
Description
There are additional icons into the drag helper if into the nodeContentTemplate there are spans. Caused by using $.html instead of $.text in drag markups
Steps to reproduce
- Open the attached sample
- Start dragging Europe node
- Drag over another another node to see the invalid state or drag until the beginning or drag between nodes to see the different states of the drag helper.
Result
The drag helper is receiving additional icons for each span it has in its template. See the giff
Expected result
It should be possible to have spans into the template of the igTree and dragging the shouldn't apply additional icons.