Search and Top Navigation
#6657 closed enhancement (fixed)
Opened November 16, 2010 07:54AM UTC
Closed November 16, 2010 01:14PM UTC
Last modified December 08, 2010 06:37PM UTC
Allow named speeds to be 0
Reported by: | jryans | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.7 |
Component: | ui.effects.core | Version: | 1.8.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Currently, if a named animation speed in the fx.speeds object is set to 0, the 0 value is ignored and the default speed is used with advanced UI effects via hide, show, etc. I have found it useful to define named speeds for a set of functionality so that speeds can be controlled independently for each group of functionality. However, if you then want to disable animation for one set of functionality (for one named speed), you are unable to, due to this issue.
Test Case: http://jsfiddle.net/ywc2T/2/
Related change in jQuery core: jquery/5c05504
Effects: Allow named speeds to be 0. Fixes #6657 - Allow named speeds to be 0
Changeset: 859c87e6d92813c7d99c2ceeaad0ded766c820ea