You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use 2 instances of ReactTrixRTEInput on the same page, by giving them different IDs, but they trigger the same onChange event, so the content get mixed up when they end up in the state.
Hello,
I'm trying to use 2 instances of
ReactTrixRTEInput
on the same page, by giving them different IDs, but they trigger the same onChange event, so the content get mixed up when they end up in the state.Here's a reproduction of the issue:
https://codesandbox.io/s/react-trix-rte-hsxql
My workaround at the moment is to manually check which input triggered the onChange event, but that's not very elegant:
Have you seen this issue before?
Thank you for your help,
Nicolas
The text was updated successfully, but these errors were encountered: