-
Notifications
You must be signed in to change notification settings - Fork 42
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
A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue. #16
Comments
Hi Team, am getting this issue 'A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.' and css polyfill is not working |
Hi, @naveen305! I briefly checked the included examples in the Are you certain that the polyfill is causing the hang? Please provide a reduced test case for inspection. Also, note that this polyfill is not being actively maintained. |
Hi @oslego Yes Script is busy in Mozilla and Internet Explorer in Windows |
This may help -- exceedingly large stylesheets can cause the RegEx matching to take a very long time. Might be a common issue with third party libraries or files containing large data URIs. (TypeKit was the culprit in my case, at over 167K characters. You could log yours and see where it goes awry.) A simple fix is to wrap the |
Thank you, @Landerson352! That may be a good workaround. Going forward, I do not recommend people use this polyfill as it is no longer maintained. Instead, I recommend using Feature Queries to detect support for CSS Shapes and use the native implementation instead. It will be much faster for the users that have it and prevent bad performance for users who don't. Here's a usage example: @supports ( shape-outside: circle() ) or ( -webkit-shape-outside: circle() ){
.element {
-webkit-shape-outside: circle();
shape-outside: circle();
}
} |
Hi Team,
am getting this issue 'A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.' and css polyfill is not working
The text was updated successfully, but these errors were encountered: