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.
Thanks for pointing that out. Normal was actually never a valid speed option, it was a myth from invalid documentation (used to exist in jQuery core docs as well). The only reason that it worked is because invalid values fall back to the default speed.
I know this has been closed and considered fixed but allow me to voice my opinion. A quick search on google will reveal that there are tons of examples of using both jquery and jquery ui with the "mythical" 'normal' duration. Since this incorrect usage was caused by incorrect official documentation, I think this change needs to _at least_ be included in the list of breaking changes because jquery UI monkey-patches jQuery's default $.fn.show/hide/toggle. It's very disconcerting for someone to update jQuery UI and see that the $.fn.show('normal') stopped working, especially for people that didn't expect that method to change when you update jQuery UI (I didn't). I'd go further and say that I think it jQuery UI should strive to keep show/hide/toggle preserving the same behavior as it's original implementation. If jQuery's default behavior is to use the _default duration when you pass an unknown string, then jQuery UI's modifications should preserve this behavior. Please don't consider this fixed and avoid making this a common practice when maintainingjQuery UI. Respectfully, - Sergio Pereira
Leave a comment on sergioafp's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic