BotFramework-WebChat
BotFramework-WebChat copied to clipboard
Unable to attach same file in the next message with sendAttachmentOn: send
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?
Bundle (webchat.js)
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
Browser: Edge (latest), Browser: Chrome (latest)
Which area does this issue affect?
Send box
What is the public URL for the website?
No response
Please describe the bug
When using sendAttachmentOn: 'send' (the new default), I cannot attach the same file twice in a row. This occurs regardless of sending other text events, only when attaching. If you refresh the page, it works. It also works if you attach a different file, then your original file (with or without sending)
Do you see any errors in console log?
No response
How to reproduce the issue?
- Attach any file and send it
- Try to attach the same file again
- Refresh the page
- Now you can attach it
What do you expect?
I expect to be able to attach the same file again
What actually happened?
I cannot attach the file.
Do you have any screenshots or recordings to repro the issue?
Adaptive Card JSON
No response
Additional context
No response