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

Performance issue on Safari and IE #14

Closed
garnold opened this issue Mar 29, 2016 · 2 comments
Closed

Performance issue on Safari and IE #14

garnold opened this issue Mar 29, 2016 · 2 comments

Comments

@garnold
Copy link

garnold commented Mar 29, 2016

When a page contains a large number of MDL components, both Safari and IE will lock up for as long as 30 seconds or so.

@michael-goltsman
Copy link

I faced same issue in IE11 only (Edge worked fine, Safari wasn't tested). The fast and dirty solution I found was to remove

document.addEventListener("DOMNodeInserted",function(e){
e.relatedNode.querySelectorAll(".getmdl-select").length>0&&componentHandler.upgradeDom()
},!1)

from the code... I didn't find any problems with removing these lines, but maybe this just irrelevant for my case. Will be thankful to know whether this helped.

@JeckPikachan
Copy link
Contributor

Fixed this problem. Thank you for your remarks

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