camohub / jquery-sortable-lists

jQuery plugin to sorting lists also the tree structures.
MIT License
209 stars 60 forks source link

ignoreClass attribute doesn't work #49

Closed piotrrussw closed 5 years ago

piotrrussw commented 5 years ago

Hi, I have a problem with the ignoreClass property, I tried it as in an example and append it to my checkboxes which are rendered dynamically based on user interaction (so maybe it's the case) and so then inputs with class 'clickable' are still draggable.

camohub commented 5 years ago

Show me the code. IgnoreClass is checked at the moment when you do mousedown. It should no matter if element was generated dynamically.