issue with the drag and drop of the image

when i am trying to upload a profile image with ejs-uploader, with browse button its working file , displays the preview of the image and uploaded successfully with API. but when i try to drag and drop an image , the image which i dragged is opened to to new browser tab. its not appende to the preview image. could you please help to resove this issue.

Thank and reagrds 


2 Replies

SP Sureshkumar P Syncfusion Team March 17, 2023 09:59 AM UTC

Hi jismol,

We suggest you use our droparea property to achieve your requirement. To know more about the droparea property please refer to the API documentation link.

API documentation: https://ej2.syncfusion.com/vue/documentation/api/uploader/#droparea

Regards,

Sureshkumar P



JI jismol March 20, 2023 06:50 AM UTC

Thanks for the reply.


Loader.
Up arrow icon