ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.04k stars 1.2k forks source link

handle_class: resize does not work if multiple classes are added #599

Open kevinch1 opened 6 years ago

kevinch1 commented 6 years ago

I'm trying to use a fontawesome class as handle_class, this classes have the format fas fa-[some-name] and it seems that breaks the resizing, I believe it has something to do with the fact that a class with the same name of the one you specify as handleclass + -both_ is added to the span, and in this case what is doing is generating is a span with this class attribute fas fa-expand-arrows-alt fas fa-expand-arrows-alt-both