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

fix(paste): skip input according to defaultPrevented #862

Merged
merged 5 commits into from
Mar 1, 2022

Commits on Feb 24, 2022

  1. fix(paste): Fix prevent default behavior

    The paste event will now ignore default behavior if
    `event.preventDefault` is called on the paste event.
    
    Closes testing-library#861
    Gudahtt committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    8e2f0ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    120b9ee View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. Fix wording of test case where preventDefault is called

    Co-authored-by: Philipp Fritsche <ph.fritsche@gmail.com>
    Gudahtt and ph-fritsche committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    cc84c19 View commit details
    Browse the repository at this point in the history
  2. Improve description of file paste test

    Co-authored-by: Philipp Fritsche <ph.fritsche@gmail.com>
    Gudahtt and ph-fritsche committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    98f44ff View commit details
    Browse the repository at this point in the history
  3. Use assertions rather than a snapshot

    Co-authored-by: Philipp Fritsche <ph.fritsche@gmail.com>
    Gudahtt and ph-fritsche committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    1a45005 View commit details
    Browse the repository at this point in the history