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

React 17/18 custom Synthetic Events #21806

Open
lifeiscontent opened this issue Jul 6, 2021 · 1 comment
Open

React 17/18 custom Synthetic Events #21806

lifeiscontent opened this issue Jul 6, 2021 · 1 comment
Labels
React 18 Bug reports, questions, and general feedback about React 18 Type: Discussion

Comments

@lifeiscontent
Copy link

The Previous solution in #10135 no longer works for React 17 or React 18.

It would be really convenient to be able to craft events that react handles for custom inputs.

e.g. I have an accordion component and would like to add the ability to use it as an input, when the user clicks a button I'd like to dispatch a change event so their handlers get called.

@lifeiscontent lifeiscontent added React 18 Bug reports, questions, and general feedback about React 18 Type: Discussion labels Jul 6, 2021
@wbaldoumas
Copy link

+1 to this issue. I have a text input that I need to simulate the onChange event for which is no longer working after upgrading to React 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
React 18 Bug reports, questions, and general feedback about React 18 Type: Discussion
Projects
None yet
Development

No branches or pull requests

2 participants