rfd icon indicating copy to clipboard operation
rfd copied to clipboard

No cancel-button in `AsyncFileDialog` on web

Open emilk opened this issue 2 years ago • 2 comments

AsyncFileDialog::pick_file shows this:

Screenshot 2023-08-22 at 15 50 34

It is not obvious that this dialog can be canceled by clicking OK

Ofc this would be best fixed by:

  • https://github.com/PolyMeilex/rfd/issues/128

emilk avatar Aug 22 '23 13:08 emilk

I think "It is not obvious that this dialog can be canceled by clicking OK" describes the situation a bit too positively. If you've already loaded a file into the chooser, but decided you don't want to open it after all, you're stuck. There's no way to unload it from the chooser. So a real cancel button is still needed. (I ran into this.)

wareya avatar Mar 31 '25 03:03 wareya

There is now a cancel button, but it seems to behave the same as the OK button.

HactarCE avatar Aug 29 '25 03:08 HactarCE