Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
v3.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkunka committed Apr 21, 2017
1 parent ee072f5 commit 93c9abf
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 15 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
Change Log
==========

## 3.1.10

- Fixes an issue where the `activeContainerClass` did not persist between non-layout-change operations (e.g. sort, filter).

## 3.1.9

- Fixes issue relating to `animation.clampHeight` where the height was not correctly applied causing scroll jumping in certain situations.
- Fixes an issue relating to `animation.clampHeight` where the height was not correctly applied causing scroll jumping in certain situations.

## 3.1.8

Expand Down
6 changes: 3 additions & 3 deletions demos/mixitup.min.js

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions dist/mixitup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**!
* MixItUp v3.1.9
* MixItUp v3.1.10
* A high-performance, dependency-free library for animated filtering, sorting and more
* Build 659c281f-47ce-429c-a467-6e1d960b3f52
* Build e6e7a2d0-7eef-4170-a198-9a6a2bd4e53e
*
* @copyright Copyright 2014-2017 KunkaLabs Limited.
* @author KunkaLabs Limited.
Expand Down Expand Up @@ -8421,14 +8421,16 @@

self.filterOperation(operation);

if (changeLayoutCommand) {
operation.startContainerClassName = operation.startState.activeContainerClassName;
operation.startContainerClassName = operation.startState.activeContainerClassName;

if (changeLayoutCommand) {
operation.newContainerClassName = changeLayoutCommand.containerClassName;

if (operation.newContainerClassName !== operation.startContainerClassName) {
operation.willChangeLayout = true;
}
} else {
operation.newContainerClassName = operation.startContainerClassName;
}

if (self.config.animation.enable) {
Expand Down Expand Up @@ -10481,5 +10483,5 @@
mixitup.BaseStatic.call(mixitup.constructor);

mixitup.NAME = 'mixitup';
mixitup.CORE_VERSION = '3.1.9';
mixitup.CORE_VERSION = '3.1.10';
})(window);
6 changes: 3 additions & 3 deletions dist/mixitup.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mixitup",
"title": "MixItUp",
"version": "3.1.9",
"version": "3.1.10",
"description": "A high-performance, dependency-free library for animated filtering, sorting and more",
"author": "KunkaLabs Limited",
"homepage": "https://www.kunkalabs.com/mixitup/",
Expand Down
6 changes: 4 additions & 2 deletions src/mixer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3538,14 +3538,16 @@ h.extend(mixitup.Mixer.prototype,

self.filterOperation(operation);

if (changeLayoutCommand) {
operation.startContainerClassName = operation.startState.activeContainerClassName;
operation.startContainerClassName = operation.startState.activeContainerClassName;

if (changeLayoutCommand) {
operation.newContainerClassName = changeLayoutCommand.containerClassName;

if (operation.newContainerClassName !== operation.startContainerClassName) {
operation.willChangeLayout = true;
}
} else {
operation.newContainerClassName = operation.startContainerClassName;
}

if (self.config.animation.enable) {
Expand Down

0 comments on commit 93c9abf

Please sign in to comment.