You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set up a test fiddle, and added an extra filter check box. This chec kbox has no items associated with it, so when it's set nothing is displayed.
You'll notice that when you click '.green' or any of the others the filtering animation is run and then the call back fires. If you click orange, you'll see that the callback event fires well before the animation is complete. If none are visible, and orange is checked off and you click 'shuffle' the correct number is returned.
I'm using this function to get the number of items visible, and running a function if none are. This small bug makes it hard to figure out if any are visible or not.
In short :
When 0 items are visible after a filter, the callback event fires too soon
I have set up a test fiddle, and added an extra filter check box. This chec kbox has no items associated with it, so when it's set nothing is displayed.
You'll notice that when you click '.green' or any of the others the filtering animation is run and then the call back fires. If you click orange, you'll see that the callback event fires well before the animation is complete. If none are visible, and orange is checked off and you click 'shuffle' the correct number is returned.
I'm using this function to get the number of items visible, and running a function if none are. This small bug makes it hard to figure out if any are visible or not.
In short :
When 0 items are visible after a filter, the callback event fires too soon
http://jsfiddle.net/QsCZx/244/
Thanks,
Evan
The text was updated successfully, but these errors were encountered: