Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes IE9 after reading more and colapsing about 5 times. #24

Closed
robwafle opened this issue Dec 28, 2011 · 8 comments
Closed

Crashes IE9 after reading more and colapsing about 5 times. #24

robwafle opened this issue Dec 28, 2011 · 8 comments

Comments

@robwafle
Copy link

Any ideas?

@kswedberg
Copy link
Owner

very odd. does this happen under any particular conditions? or does it happen, for example, with every example at http://plugins.learningjquery.com/expander/demo/ ?

@robwafle
Copy link
Author

Hey Karl..

I just click back and forth between the read more / read less links below the first example.. this time it took me a whole minute, but it crashed IE.. fourth time now..

FYI, I have an I7 with 12GB of RAM running Windows 7 64bit so I don't think it’s a memory issue..

I like the plugin, seems to handle truncating in the middle of the HTML well so I recommended it for use on a site we're working on... Hopefully this issue is only IE specific. :)

Let me know if you want me to send you a camtasia video..

Robert C.  Wafle
Founder, Chief Executive Officer
Chicago Code Monkeys
Serious Monkeys, Serious Code.
http://www.chicagocodemonkeys.com
Chicago: 312-924-2391
Toll Free: 877-500-8575

-----Original Message-----
From: Karl Swedberg [mailto:reply@reply.github.com]
Sent: Tuesday, December 27, 2011 6:49 PM
To: Robert C. Wafle
Subject: Re: [jquery-expander] Crashes IE9 after reading more and colapsing about 5 times. (#24)

very odd. does this happen under any particular conditions? or does it happen, for example, with every example at http://plugins.learningjquery.com/expander/demo/ ?


Reply to this email directly or view it on GitHub:
#24 (comment)

@berridgeab
Copy link

I found your plugin today, works great in Firefox and Chrome, but same issue of it crashing in IE.

Tested on two different machines, same problem.

When you click between the close and open options it eventually crashes (Anywhere between 1 to 15 attempts).

Great plugin though, once the bug is resolved I will use it live on my site.

@kswedberg
Copy link
Owner

I am so sorry about this bug! I hardly know where to start, though, since I haven't been able to reproduce it.

@berridgeab : where are you seeing the crash? on the demo page? Which version of IE? Is there any pattern at all to when it crashes IE? Do you have any extensions installed in the browser? How many other tabs open? Any additional information at all would be really helpful.

@kswedberg
Copy link
Owner

One more thing ... I'm wondering if it might have something to do with the expand/collapse functions using fadeIn/fadeOut (IE has historically had a tough time handling opacity in certain situations). Could you try with the following options and see if it still crashes?

{
      expandEffect: 'show',
      expandSpeed: 0,
      collapseEffect: 'hide',
      collapseSpeed: 0
}

@berridgeab
Copy link

Hi

Thanks for your fast response.

First Post -

Where are you seeing the crash?
My own page, I encorporated your plugin into my site (localhost version)

Is there any pattern at all to when it crashes IE?
No, seemingly random. Can happen on the expand or collapse function. Usually breaks in no more than 5 goes.

Which version of IE?
IE 9

Do you have any extensions installed in the browser?
No

How many other tabs open?
Just the tab that is crashing.

Any additional information at all would be really helpful?
Windows 7
JQuery 1.7.1
Seems to crash regardless of the content it is truncating.

Post 2 -

I can confirm the settings you posted above seem to have solved the issue. I sat for 5 minutes clicking the Expand / Collapse element and there was no crash. SlideUp and SlideDown also seem unaffected.

I restored the opacity settings and the crash happened within 5 clicks.

I am more bothered about the functionality than the effect. Again thanks for your help with this.

@kswedberg
Copy link
Owner

Hey, thanks again for the reports and the info to help troubleshoot. For now, I've updated the readme with a "Known Issue" section, along with the workaround of changing the *Effect options. I might change the default settings to a non-animating expand/collapse later. What do you think? Can I close this issue? Anything else I should be doing here?

@berridgeab
Copy link

SlideUp / SlideDown seems to work and looks ok so it may be worthwhile changing that to the default so the plugin can be downloaded in a fully functional state. Again thanks for your work with this plugin it works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants