rfd
rfd copied to clipboard
No cancel-button in `AsyncFileDialog` on web
AsyncFileDialog::pick_file shows this:
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
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.)
There is now a cancel button, but it seems to behave the same as the OK button.