renderWebChat not working in Angular #5435
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
bug
Indicates an unexpected problem or an unintended behavior.
customer-reported
Required for internal Azure reporting. Do not delete.
Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
NPM
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
Browser: Chrome (latest)
Which area does this issue affect?
Development experience
Which theme pack does this issue affect?
I did not test it on other theme packs
What is the public URL for the website?
No response
Please describe the bug
i am getting ERROR TypeError: import_react_dom2.default.render is not a function . i am using latest bot framework and angular
Do you see any errors in console log?
How to reproduce the issue?
WebChat.renderWebChat({
directLine: directLine,
}, document.getElementById('webchat'));
What do you expect?
it should work
What actually happened?
ERROR TypeError: import_react_dom2.default.render is not a function
at f3 (chunk-6NGHWPUW.mjs:118:5)
at _AppComponent. (app.component.ts:156:21)
at Generator.next ()
at fulfilled (main.js:5:24)
at _ZoneDelegate.invoke (zone.js:369:28)
at Object.onInvoke (core.mjs:6525:25)
at _ZoneDelegate.invoke (zone.js:368:34)
at ZoneImpl.run (zone.js:111:43)
at zone.js:2538:40
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
Additional context
No response
The text was updated successfully, but these errors were encountered: