When the local animation option is set to something like fadeIn or fadeInLeft, the trip block will not fade itself out. Instead, it will stay at full opacity until the block is completely hidden.
Simply adding a call to removeAnimation() in the 'hideTripBlock' function will fix the issue:
hideTripBlock: function() {
this.removeAnimation(); // add this line
this.$tripBlock.fadeOut('slow');
}
When the local animation option is set to something like
fadeIn
orfadeInLeft
, the trip block will not fade itself out. Instead, it will stay at full opacity until the block is completely hidden.Simply adding a call to
removeAnimation()
in the 'hideTripBlock' function will fix the issue:Example of the bug in action:
http://codepen.io/anon/pen/JdOBjV