sp-dev-fx-controls-react icon indicating copy to clipboard operation
sp-dev-fx-controls-react copied to clipboard

ListItemAttachments cancel event is hanging the control

Open rzklava opened this issue 8 months ago • 1 comments

Category

[ ] Enhancement

[x] Bug

[ ] Question

Version

3.19.0

Expected / Desired Behavior / Question

ListItemAttachment control gets stuck when we cancel the file selector popup window. This happens when the control is in new mode and we click on the add button which appears on the center.

Image

Observed Behavior

When the user is clicking on Add button to add the attachment and then file selector window appear from where the user can choose any file from the device. Instead of selecting any file, if the user presses the cancel button and then again click on Add button of the attachment control, it does not show anything.

Steps to Reproduce

  1. Click on Add button.
  2. Click on Cancel button in the file selector window.
  3. Click on Add button

Thanks!

rzklava avatar Mar 12 '25 10:03 rzklava

Thank you for submitting your first issue to this project.

github-actions[bot] avatar Mar 12 '25 10:03 github-actions[bot]

Assigning to @Ateina

michaelmaillot avatar Jun 10 '25 17:06 michaelmaillot