# S-drop-zone bug on drop

**URL:** <https://community.shopify.dev/t/s-drop-zone-bug-on-drop/23523>\
**Category:** Polaris\
**Created:** [October 6, 2025, 12:01pm UTC](https://community.shopify.dev/t/s-drop-zone-bug-on-drop/23523 "2025-10-06T12:01:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nunof](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/nunof/32/216_2.png) [@nunof](https://community.shopify.dev/u/nunof)\
**Post date:** [October 6, 2025, 12:01pm UTC](https://community.shopify.dev/t/s-drop-zone-bug-on-drop/23523/1 "2025-10-06T12:01:40Z")

</div>

I believe there is a bug with drag and drop on the dropzone component.

We have the `accept` attribute set like:

`accept=".jpg,.jpeg,.png,.gif,.webp,.mp4,.mov,.webm"`

 ![Screenshot 2025-10-06 at 12.47.28](https://global.discourse-cdn.com/shopifycommunity/original/2X/3/35949cf1d278e59c16d965a43e30a7d8c67ff007.png)

When dropping a file, the drop area shows the error message below:

 ![dropzone-error](https://global.discourse-cdn.com/shopifycommunity/original/2X/c/cc69632ff8f9fef8df48e96370bb4c5eb2d33960.jpeg)

This happens with any file extension. The event goes through and the file is uploaded, though, so it seems mostly a visual issue.

Can anyone else replicate it? It would be great if someone from the Shopify team could confirm if this is a known issue.

Thanks!

---

<div class="post-metadata">

**Author:** ![SamR-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/samr-shopify/32/7555_2.png) [@SamR-Shopify](https://community.shopify.dev/u/SamR-Shopify)\
**Post date:** [October 6, 2025, 1:04pm UTC](https://community.shopify.dev/t/s-drop-zone-bug-on-drop/23523/2 "2025-10-06T13:04:15Z")

</div>

@nunof Thanks for the report! I was able to replicate and am working on a fix. In the meantime, you can use `accept=”image/*`_`,video/*`_`“ to bypass the internal validation, then filter and accept files with the proper file extensions in the `change` event callback. `

---

<div class="post-metadata">

**Author:** ![nunof](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/nunof/32/216_2.png) [@nunof](https://community.shopify.dev/u/nunof)\
**Post date:** [October 6, 2025, 2:20pm UTC](https://community.shopify.dev/t/s-drop-zone-bug-on-drop/23523/3 "2025-10-06T14:20:12Z")

</div>

> [@SamR-Shopify](#):
>
> `image/*` _`,video/*`_

@SamR-Shopify, thanks for confirming and the quick reply. I can confirm that it works as a workaround for now. Thank you.

---

<div class="post-metadata">

**Author:** ![SamR-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/samr-shopify/32/7555_2.png) [@SamR-Shopify](https://community.shopify.dev/u/SamR-Shopify)\
**Post date:** [October 27, 2025, 2:09pm UTC](https://community.shopify.dev/t/s-drop-zone-bug-on-drop/23523/4 "2025-10-27T14:09:41Z")

</div>

@nunof we recently released a fix for this! You should be able to use the `accept` value you originally used (`accept=".jpg,.jpeg,.png,.gif,.webp,.mp4,.mov,.webm"`).

Let us know if this is still giving you trouble!

---

<div class="post-metadata">

**Author:** ![nunof](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/nunof/32/216_2.png) [@nunof](https://community.shopify.dev/u/nunof)\
**Post date:** [October 27, 2025, 4:07pm UTC](https://community.shopify.dev/t/s-drop-zone-bug-on-drop/23523/5 "2025-10-27T16:07:09Z")

</div>

Hey @SamR-Shopify, I can confirm this is fixed. Really appreciate the follow-up.
