Opened 9 years ago
Closed 9 years ago
#14565 closed bug (wontfix)
slideToggle callback error causes infinite loop
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
I have a case where I am calling .each from within the callback of slideToggle. If an error happens inside that .each, an infinite loop is created and the error repeats forever.
I have an example showing how the problem is isolated to the slideToggle callback. This seems to happen in all versions.
Change History (4)
comment:1 Changed 9 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
It's not a "loop", the animation just fails to progress because of the error. If you open the console and look at the trace, the error message makes it pretty clear where the problem is happening. Swallowing the error would obfuscate things and make it difficult to debug. I'd vote for leaving it as is.
This seems like another case where we would have to catch the exception, which jQuery avoids for debugging purposes. What are the team's thoughts on the desired behavior here?