Element.toggle & Fx.Slide bug
Reported by lAndRaxeE | December 29th, 2010 @ 09:33 AM | in 2.2.0 Release
When i use Element.toggle("slide") to toggle a element to visible or hidden, i found that when the element is visible, and execute toggle("slide") twice in a short time, u will not see that element hidden and shown then, but hidden twice.
in case i can't be understood clearly, i post my test case in attachment, please check it.
and i think if add these codes can resolve this bug:
Fx.Twin.include({
start: function() {
if (this.how == "out" && this.hidden()) {
return this.cancel();
}
return this.$super();
} });
Comments and changes to this ticket
-
MadRabbit December 29th, 2010 @ 10:06 AM
- Milestone set to 2.2.0 Release
- Tag set to core, fx, fx.slide
- Milestone order changed from 196644 to 0
thanks for letting me know, will check it shortly
-
MadRabbit January 6th, 2011 @ 06:25 PM
- State changed from new to resolved
fixed, will appear in the RightJS 2.2 release
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.