Skip to content
Merged
Prev Previous commit
Next Next commit
Add documentation to README
  • Loading branch information
ditman committed Jul 12, 2023
commit 1ad6926b26e9c93f1e343be05c6713fd7fa58ee2
12 changes: 12 additions & 0 deletions packages/file_selector/file_selector_web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,15 @@ should add it to your `pubspec.yaml` as usual.

[1]: https://pub.dev/packages/file_selector
[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin

## Limitations on the Web platform

### `cancel` event

The `cancel` event used by the web plugin to detect when users close the file
selector without picking a file is relatively new, and will only work in
recent browsers.

See:

* https://caniuse.com/mdn-api_htmlinputelement_cancel_event