-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
webchat-es5.js throws an error when a carousel activity is rendered in IE11 #1905
Comments
I discovered this issue as well this morning. Running the webchat-instrumented-es5.js I built off of the master branch this morning, this is the error I get: SCRIPT5022: Exception thrown and not caught The above error occurred in one of your React components: Consider adding an error boundary to your tree to customize error handling behavior. uncaught at anonymous TypeError: Invalid attempt to spread non-iterable instance Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method. Forgive the lack of markdown. I'm having some trouble getting that to format correctly. |
I have this error in an older version of Edge, too, with both the polyfill and non-polyfill version of webchat: #1913 |
Having multiple suggested actions also triggers this issue. Reproducible using the Suggested Actions demo here. |
Found the culprit.
Replacing it with A fix is coming very soon. |
@compulim Great! For those who want a workaround while the fix doesn't arrive just import the following CDN version. https://cdn.botframework.com/botframework-webchat/4.3.0/webchat-es5.js |
@Tiagojaduarte if you want to use the new code immediately, it's available on |
Thank you @corinagum for your reactivity! Great job! |
Thank you @corinagum and i too faced this issue and resolved now in IE11 thanks. |
Hello all,
The webchat-es5.js library when used on Internet Explorer 11 throws an error before a carousel activity gets rendered.
TypeError: Invalid attempt to spread non-iterable instance
The UI behavior is that the whole chat window disappears.
This behavior can be seen by going to the demo below (using IE11) and typing carousel
https://microsoft.github.io/BotFramework-WebChat/01.b.getting-started-es5-bundle
The text was updated successfully, but these errors were encountered: