Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ms-jb opened this issue Apr 11, 2024 · 0 comments
Open
Labels
bug Indicates an unexpected problem or an unintended behavior.

Comments

@ms-jb
Copy link
Contributor

ms-jb commented Apr 11, 2024

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 ms-jb added 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. labels Apr 11, 2024
@compulim compulim removed customer-reported Required for internal Azure reporting. Do not delete. Bot Services Required for internal Azure reporting. Do not delete. Do not change color. labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior.
Projects
None yet
Development

No branches or pull requests

2 participants