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

click should also trigger focusin and focusout #177

Closed
patricklafrance opened this issue Oct 3, 2019 · 1 comment
Closed

click should also trigger focusin and focusout #177

patricklafrance opened this issue Oct 3, 2019 · 1 comment

Comments

@patricklafrance
Copy link

It would be awesome if click (and dblClick) also support focusin and focusout.

Event if they are not currently part of React: facebook/react#6410

You can still use it with document.addEventListener.

Calling focusin right after element.focus() and focusout right after fireEvent.blur(focusedElement) seems to work well.

Thank you,

Patrick

@Gpx
Copy link
Member

Gpx commented Feb 17, 2020

This should be fixed in the latest version, please give it a try

@Gpx Gpx closed this as completed Feb 17, 2020
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

2 participants