none
Issue with the extension on Microsoft Edge RRS feed

  • Question

  • I am creating an application in C# that will support drag and drop on edge browsers.

    From C# application on drag I am customizing cursor icon, and I want to retain this cursor icon until drop happens on browser.

    For drag and drop support on browser I have written a edge browser Extension, and from that extension I am using below event handler to customizing copy icon

    document.addEventListener("dragenter", function( event ) {

                    event.preventDefault();

                    event.dataTransfer.effectAllowed = "copy";

      }, false);

    (dragstart is not being called because I am dragging the cursor icon from other application)

    My custom icon is appearing perfectly on Google chrome and Firefox, but on Microsoft Edge it is displaying two icons

    one is my custom icon and other is browser default copy icon (as seen in attached image).

    So I am facing to issue to remove the browser default copy icon in Microsoft Edge browser.

    If any one have any idea, please help me.

    Thanks & Regards, Mayank Agarwal

    Wednesday, December 12, 2018 8:28 AM