Bug Tracker

Opened 5 years ago

Closed 5 years ago

#15068 closed bug (invalid)

Step option, is not fired in toggle method

Reported by: fled Owned by: fled
Priority: undecided Milestone: None
Component: unfiled Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:

Description

I was trying to create a sliding menu, using toggle() method but needed to call a function (that was interacting with div height) while sliding into view. for this, I've used the step option (as seen in documentation) to call this function has soon has sliding starts to occur. I did many tests, and it seems that this option is not working with toggle().

I've tried to use animate() with the same call and its working perfectly...?

I've made a simple fiddle here (http://jsfiddle.net/fled/cVP7J/2/) to illustrate the problem.

I've tried it in the last version of IE and Chrome with version 1.11.0 of jQuery

Thanks

Change History (2)

comment:1 Changed 5 years ago by dmethvin

Owner: set to fled
Status: newpending

I don't see an API signature for .toggle() that looks like the one you're using. Can you clarify? http://api.jquery.com/toggle/

comment:2 Changed 5 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.