Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Element.toggle & Fx.Slide bug

#420

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();

} });

Reported by lAndRaxeE · December 29th, 2010 @ 09:33 AM

State: resolved
Milestone: 2.2.0 Release
Assigned to: nobody

Activity

  1. MadRabbit
    MadRabbit
    • 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

    December 29th, 2010 @ 10:06 AM

  2. MadRabbit
    MadRabbit
    • State changed from new to resolved

    fixed, will appear in the RightJS 2.2 release

    January 6th, 2011 @ 06:25 PM

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.