BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Unable to attach same file in the next message with sendAttachmentOn: send

Open ms-jb opened this issue 1 year ago • 0 comments

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?

  1. Attach any file and send it
  2. Try to attach the same file again
  3. Refresh the page
  4. 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?

webchat-samefile

Adaptive Card JSON

No response

Additional context

No response

ms-jb avatar Apr 11 '24 14:04 ms-jb