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

{arrowleft} and {arrowright} are not working for <textarea> #687

Closed
mkurcius opened this issue Jun 19, 2021 · 0 comments · Fixed by #686
Closed

{arrowleft} and {arrowright} are not working for <textarea> #687

mkurcius opened this issue Jun 19, 2021 · 0 comments · Fixed by #686
Labels
enhancement New feature or request

Comments

@mkurcius
Copy link
Contributor

mkurcius commented Jun 19, 2021

  • @testing-library/user-event version: 13.1.9
  • Testing Framework and version: karma
  • DOM Environment: Chrome

Relevant code or config

userEvent.type(textarea, 'b{arrowleft}a{arrowright}c')

What you did:
above code should create a value abc

What happened:
above code created a value bac

Reproduction repository:
Instead created PR #686 with a test :)

Problem description:
missing textarea value in isElementType params (for keydownBehavior)

Suggested solution:
merge PR #686 ;)

@ph-fritsche ph-fritsche linked a pull request Jul 9, 2021 that will close this issue
3 tasks
@ph-fritsche ph-fritsche added the enhancement New feature or request label Jul 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants