Skip to content

open os file picker directly on pickfile in wasm #128

@JustFrederik

Description

@JustFrederik

When using pickfile it creates html code like this:

<div id="rfd-card"><input id="rfd-input" type="file" accept=""><button id="rfd-button">Ok</button></div>

Coud you add an option like set_overlay to AsyncFileDialog which lets you skip this rfd-card and open the os file picker directly? The easiest solution would probably be to add an eventlistener to input instead of button.set_onclick(Some(closure.as_ref().unchecked_ref())); in wasm.rs:94 and add the visibility of the body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions