Directline webchat not working in React Strict Mode #5127
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: Edge (latest), Browser: Chrome (latest), Browser: Firefox (latest)
Which area does this issue affect?
Others or unrelated
What is the public URL for the website?
No response
Please describe the bug
Minimizable web chat example from samples is not working in React Strict Mode.
conversations API is getting cancelled
React Version: 18.2.0
NodeJS: 18.19.1
Do you see any errors in console log?
No response
How to reproduce the issue?
What do you expect?
Bot should start and conversations API should succeed.
NOTE: Bot works if React Strict Mode is removed.
What actually happened?
Bot shows "connecting..." and not starting. (Attached screenshot for the same)
Do you have any screenshots or recordings to repro the issue?
Adaptive Card JSON
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: