I've been struggling to figure out why GridsterJS is running so slow for me, I have a much larger project using gridster and performance is so bad I can't drag or resize any widgets on the page. I was shocked to see a much much slimmed down example behaving the same way: https://jsfiddle.net/h30pum3b/
#grid li {
background-color: green;
width: 200px;
height: 200px;
list-style: none;
}
<ul id="grid">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
$("#grid").gridster({
widget_selector: "li",
widget_base_dimensions: [200, 200],
widget_margins: [10,10],
avoid_overlapped_widgets: true
});
Any clues as to what may be happening here would be quite helpful... Thanks in advance.