Skip to content

Conversation

pwolaq
Copy link
Contributor

@pwolaq pwolaq commented Oct 24, 2019

What:

Append rendered element to the body in order to allow it to receive focus.

Why:

Because of changes in jsdom logic activeElement does not return unmounted components. (Fixes #145 )

How:

Checklist:

  • Documentation N/A
  • Tests
  • Updated Type Definitions N/A
  • Ready to be merged

@eps1lon eps1lon changed the title Fix focus test test: fix focus test Oct 31, 2019
@eps1lon eps1lon merged commit 66f2206 into testing-library:master Oct 31, 2019
@eps1lon
Copy link
Member

eps1lon commented Oct 31, 2019

@pwolaq Sorry this fell through the cracks. Thank you!

@eps1lon
Copy link
Member

eps1lon commented Oct 31, 2019

@all-contributors please add @pwolaq for test

@allcontributors
Copy link
Contributor

@eps1lon

I've put up a pull request to add @pwolaq! 🎉

@gnapse
Copy link
Member

gnapse commented Nov 1, 2019

🎉 This PR is included in version 4.2.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gnapse gnapse added the released label Nov 1, 2019
@pwolaq pwolaq deleted the fix-focus-text branch October 15, 2021 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

latest version of jsdom (15.2.0) causes focus test to fail

3 participants