Skip to content

Support 'full' paths for dropped files in the HTML5 ondrop event. #501

@krpano

Description

@krpano

An important use-case for native-apps is the ability to receive files as input via drag-and-drop.

HTML5 has already nice APIs for controlling file dropping, but it is missing a possibility to get the real full paths of the dropped files.

In NW.js and Electron the 'File' HTML5 API was extended with a 'path' attribute that contains the full path:
https://docs.nwjs.io/en/latest/References/Changes%20to%20DOM/#fileitempath

Here an example:
https://ourcodeworld.com/articles/read/288/how-to-handle-drag-and-drop-file-feature-in-electron-framework

Please add that or a something similar to WebView2 too!

Thanks!
Klaus

AB#29710956

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestfeature requesttrackedWe are tracking this work internally.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions