Bug Tracker

Modify

Ticket #7543 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Delay() doesn work if Show() duration not specified

Reported by: audriusa83@… Owned by:
Priority: low Milestone: 1.5
Component: effects Version: 1.4.2
Keywords: Cc:
Blocking: Blocked by:

Description

I could not get working the following line:

$('#target').delay(1000).show();

In this case the delay() method would be ignored and the target would show up immediately. Solution turns out to be very simple, but it took me some time to find it. Just add any duration to a show() method:

$('#target').delay(1000).show(1);

It seems to be the same issue with other effect methods.

Change History

comment:1 Changed 3 years ago by dmethvin

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

I've updated the documentation to clarify this.

 http://api.jquery.com/delay/

comment:2 Changed 3 years ago by john

  • Priority changed from undecided to low
  • Component changed from unfiled to effects

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.