Skip to content

onFileDialogCancel triggered on correct file selection #1079

@ignlopezsanchez

Description

@ignlopezsanchez

Do you want to request a feature or report a bug?

  • I found a bug
  • I want to propose a feature

What is the current behavior?
When I select a valid file, the onFileDialogCancel is being triggered
If the current behavior is a bug, please provide the steps to reproduce.

https://codesandbox.io/s/magical-lalande-xd33e?file=/src/App.js

https://www.loom.com/share/be48a5d16d6048bea56ee5d9acc6e292

  1. Click on the red p
  2. console.log "cancel" should not be called as there is a valid file

What is the expected behavior?

onFileDialogCancel shouldn´t be called

macOS Big Sur version 11.4
Chrome Version 91.0.4472.114 (Official Build) (x86_64)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions