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

jsdom-react adapter: enterValue - should it simulate also beforeInput #64

Open
hepiyellow opened this issue Mar 31, 2019 · 0 comments
Open

Comments

@hepiyellow
Copy link
Contributor

hepiyellow commented Mar 31, 2019

Background

beforeInput event is needed in cases where the element is not an <input/> but it has contentEditable = true.

Discussion

  • Is beforeInput fired by browser also when element is <input/>?
    • If not:
      • We need to check if firing beforeInput when the element IS an <input/> hurts in any way?
      • Maybe this should be a separate method like: contentEditableEnterValue...
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

1 participant