0
當我切換過濾器「CM」,在第2,3和4行,內容跳躍,我不知道爲什麼。切換jQuery按鈕時跳轉內容
$(document).ready(function() {
$('.filter_content').mixItUp({
controls: {
enable: false // we won't be needing these
},
animation: {
enable: false
},
callbacks: {
onMixLoad: function(){
$(this).mixItUp('setOptions', {
animation: {
enable: true,
duration: 400,
effects: 'fade',
easing: 'ease'
},
});
}
}
});
});
你能不能幫我解決這個問題?
感謝的人,在onMixFail功能對我來說並不重要。現在的另一個問題是,如果按下濾波器CM,第三行中的單個元素會產生振動,但是爲什麼? – fr3d
@ fr3d我不太確定,但我認爲這與mixitup試圖將該項目移動到容器的頂部有關,因爲容器正在縮小,因爲其他項目被濾除。 – spaniol6