08-03-2020 11:46 AM
Hi,
I am building a small application using the ADF framework and it includes the Drag and Drop area component. This works fine when dragging in from the file system but the result varies when dragging an email in from outlook.
The .msg file does correctly get uploaded, but it is 'deleted' from the Outlook client. Ctrl-z does bring it back, but that's not an ideal solution.
The issue appears to be different defaults across the browsers for the .dropEffect setting:
https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/dropEffect
The default in Chromium/Chrome at the moment in this case is .dropEffect = "move" rather than .dropEffect = "copy".
Does anyone know of a setting/code change that I can make that would allow me to explicitly set this on the ADF component rather than relying on the browser default? In this case I would expect the underlying component to always be set to "copy" rather than "move".
Any help would be appreciated!
08-18-2020 11:53 AM
It should be part of the 4.0 release. The corresponding changes have been merged before the release.
08-03-2020 11:49 AM
This has been fixed already and will be available in the next release of ADF (4.0)
08-03-2020 01:34 PM
Awesome! Is there any option for older versions? Am not sure when I can upgrade to ADF 4 and have an existing customer complaining that their email is going missing.
08-03-2020 01:38 PM
Also, can I get an idea of when the 4.0 release will be?
08-17-2020 10:39 AM
Hi,
I tried the 3.10-beta3 that has this fix in the directive. But it didn't seem to help for me when using the adf-upload-drag-area control. Is the directive used by this component under the covers?
I'm working against a beta I know, but just trying to work out if I need to build a custom div that uses the directive to get this fix.
Cheers,
Matt
08-17-2020 10:50 AM
Thank you for the feedback. I have identified an issue and working on a fix
08-18-2020 11:50 AM
Can I assume the fix will not be in 4.0 as I was just notified that was already released. So perhaps a 4.1 beta? Just need to be able to give some info to my PM.
08-18-2020 11:53 AM
It should be part of the 4.0 release. The corresponding changes have been merged before the release.
08-18-2020 12:02 PM
OK, awesome, just upgrading now... will let you know how it goes. Appreciate the assistance.
08-18-2020 12:13 PM
Just tested and it does appear to be working in 4.0 for my case! Thanks!
Explore our Alfresco products with the links below. Use labels to filter content by product module.