Ticket #5192 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

1.8rc2 Toggle speed issue

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

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

comment:1 Changed 4 years ago by scott.gonzalez

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

Fixed in r3827.

Note: See TracTickets for help on using tickets.