Browser is freezing up when working with 400+ data result set using MixItUp3 + Pagination plugin
I am at a loss here. I am using server side to generate the data on page and using mixitup to filter and sort with pagination. However using the filters takes upwards of 30 seconds before it gets executed causing the browser to freeze up. What am I doing wrong?
Data Set contains 480 items. Not very much by any means so I'm lost as to why this is stalling.
JS Code:
var mixer = mixitup('.container', {
selectors: {
target: '.dealer-card'
},
controls: {
toggleLogic: 'and'
},
pagination: {
limit: 25
}
});
I am using checkboxes as filters:
<input type="checkbox" id="dealer_franchised" name="dealer_type" data-toggle=".franchised" />
Here is an html item example: `
Auto and Motorsports
xxx Rockingham Road, Derry, NH xxxxxxxx-xxx-xxx
Has anyone used over 400 items with MixItUp3? An Update: I did try the Dataset API as well but had similar problems with delay.
Update: I found the issue being FontAwesome elements hitting the js for that on each item loading. Removing fontawesome made it performance wise amazing.