Opened 6 years ago

Closed 6 years ago

#5192 closed bug (fixed)

1.8rc2 Toggle speed issue

Reported by: Rwhitbeck Owned by:
Priority: critical Milestone: 1.8
Component: ui.effects.core Version: 1.8rc2
Keywords: Cc:
Blocked by: Blocking:

Description

I believe this was introduced in 1.8rc2. With Toggle, when specifying the (optional) Speed as a string (not a number), but the (optional) Options are NOT specified, the effect is showing but then quickly hiding the item being toggled.

Using the sample code at http://jqueryui.com/demos/toggle/ - the line under "run the effect"

Works: Copy code

  1. $("#effect").toggle(selectedEffect,options,500); default example
  2. $("#effect").toggle(selectedEffect,500);
  3. $("#effect").toggle(selectedEffect,{},"normal");

Does NOT work: Copy code

  1. $("#effect").toggle(selectedEffect,"normal");
  2. $("#effect").toggle(selectedEffect,"slow");

Forum: http://forum.jquery.com/topic/1-8rc2-toggle-speed-issue Test case: http://jsbin.com/uwozi/4

Change History (1)

comment:1 Changed 6 years ago by scottgonzalez

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r3827.

Note: See TracTickets for help on using tickets.