Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Development build
Which distribution are you using Web Chat from?
Unrelated
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), Browser: Safari (latest), Browser: IE Mode (latest), Platform: Windows, Platform: macOS, Platform: iOS/iPadOS, Platform: Android
Which area does this issue affect?
Send box
What is the public URL for the website?
No response
Please describe the bug
When using DLASE, reconnection will emit ConnectionStatus.Connecting followed by ConnectionStatus.Online. These values are not observed in DLJS.
After reconnection completed, the useConnectivityStatus returns ["reconnected"], rather than ["connected"].
In our useSubmit() hook, we only check for "connected" but not "reconnected". Thus, after reconnection, useSubmit consider it is still offline and does not submit the send box.
Do you see any errors in console log?
No response
How to reproduce the issue?
- Navigate to https://compulim.github.io/webchat-loader/
- Use DLASE connection
- After Web Chat is loaded, disconnect the Internet and reconnect
- Type a message in the send box
- Click send button or press ENTER
What do you expect?
It should be able to send message after reconnected.
What actually happened?
The send button become non-functional after reconnected.
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
No response
Additional context
No response
Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Development build
Which distribution are you using Web Chat from?
Unrelated
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), Browser: Safari (latest), Browser: IE Mode (latest), Platform: Windows, Platform: macOS, Platform: iOS/iPadOS, Platform: Android
Which area does this issue affect?
Send box
What is the public URL for the website?
No response
Please describe the bug
When using DLASE, reconnection will emit
ConnectionStatus.Connectingfollowed byConnectionStatus.Online. These values are not observed in DLJS.After reconnection completed, the
useConnectivityStatusreturns["reconnected"], rather than["connected"].In our
useSubmit()hook, we only check for"connected"but not"reconnected". Thus, after reconnection,useSubmitconsider it is still offline and does not submit the send box.Do you see any errors in console log?
No response
How to reproduce the issue?
What do you expect?
It should be able to send message after reconnected.
What actually happened?
The send button become non-functional after reconnected.
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
No response
Additional context
No response