'Every Other Open' Alternative #99

merged 1 commit into from Jan 26, 2014

3 participants


This is another solution to #83. This works perfectly for me so far, and adds less complexity than modifying visibility.


I had this same problem with Mootools 1.4.1 and with 1.4.2

I downloaded the codes from giddie and I can confirm this fixed the problem for me!


@arian The problem is (as far as I can tell) that the oldContents container should always pushed out-of-frame unless an animation is in progress. However, when the picker is unhidden, the oldContents left is set to zero, which means it's not out-of-frame, and it causes these issues with one copy of the content obscuring the other.

The intention of this patch is to restore the expected behaviour, so that oldContents will always be out-of-frame unless an animation is occurring. For this reason, I suggest this patch should be merged ever if you're not able to reproduce the bug that it fixes: it makes the behaviour more consistent.

@didoo didoo referenced this pull request Apr 20, 2012

Broken with MooTools 1.4.0 #76

@SergioCrisostomo SergioCrisostomo merged commit 3f5fca4 into arian:master Jan 26, 2014
@giddie giddie referenced this pull request in giddie/mootools-datepicker May 21, 2014

Wrong number of years per row #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment