desandro/isotope — Issue #134: Isotype.('remove'... will not remove the element/elements
Author: flexmotion
Created: 2012-01-09 17:59:41+00:00
State: open

Not sure if this is expected behavior.

If I add css transitions to the element (.isotope-item) that has isotope functionality, ex.:
transition: box-shadow 0.25s ease-out;
-moz-transition: box-shadow 0.25s ease-out;
-webkit-transition: box-shadow 0.25s ease-out;
-o-transition: box-shadow 0.25s ease-out;

Then I am not able to remove the elements from their container, using el.isotope("remove", list);
The remove method ends up in this if statement:
if ( $content.filter( ':not(.' + this.options.hiddenClass + ')' ).length )
Where a sort and reLayout happens.

This seems like a similar issue: https://github.com/desandro/isotope/issues/90 (closed).