desandro / draggabilly

:point_down: Make that shiz draggable
https://draggabilly.desandro.com
MIT License
3.86k stars 386 forks source link

Inline elements are invisible on moving #145

Closed centurianii closed 7 years ago

centurianii commented 7 years ago

Unless I change inline style adding rule: display: inline-block; elements remain invisible on moving. But, as style is added by the code I have to make changes in the source code of the project(?). Example: try to move spans in: <ol><li><span>first</span></li><li><span>second</span></li></ol>

What about drop events? How can we figure what elements live under the dropped element or when we have dragenter/dragleave events?

desandro commented 7 years ago

See https://github.com/desandro/draggabilly/issues/69#issuecomment-65297156