mootools/mootools-core — Issue #2303: Fade to zero/out hides item immediatly
Author: Xirt
Created: 2012-02-20 17:13:26+00:00
State: open

When using the parameter 'out' or zero (0) for the method fade() it does not fade, but hides the element immediately.I tested with the following code to confirm this problem in v1.4.4 (you will never see the DIV unless you change 'out' to a value higher then 1 which will enable fading). It seems that tween(property, from, to) is called with values (['opacity', 0]) and that it thus takes zero as a starting value and has not value for the parameter 'to'. Tested in up-to-date FireFox, Chrome and Opera under Linux Mint.

```html

```