Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input Value Is Cleared on Cancel After Open #71

Open
maks-humeniuk opened this issue Nov 23, 2020 · 5 comments
Open

Input Value Is Cleared on Cancel After Open #71

maks-humeniuk opened this issue Nov 23, 2020 · 5 comments

Comments

@maks-humeniuk
Copy link

Steps to reproduce:

  1. Click on input.
  2. Select file, e.g. "readme.txt".
  3. Click Open.
  4. Verify that input value is "readme.txt".
  5. Click on input.
  6. Click Cancel.

Actual behavior:
Input value is cleared.

Expected behavior:
Input value remains "readme.txt".

@kellyprankin
Copy link

I'm also having this problem

@ilbonte
Copy link

ilbonte commented Jan 29, 2021

I'm having this problem too but I've discovered that is the default behaviour: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file

@kellyprankin
Copy link

kellyprankin commented Jan 30, 2021

I'm having this problem too but I've discovered that is the default behaviour: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file

It looks like this does not happen in Firefox, but does happen in Chrome

@ilbonte
Copy link

ilbonte commented Jan 30, 2021 via email

@DantonGodoy
Copy link

Do we have a workaround for this on Chrome?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants