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
When using the next version of react-semantic-ui, v3.0.0-beta.0, this package stops working because it is using the deprecated Ref mechanism that was dropped from react-semantic-ui.
How has this issue affected you? What are you trying to accomplish?
Developing the project using beta version of react-semantic-ui, and the latest version of React (18).
Solution
Replace <Ref> mechanism with a new approach (passing ref as a prop to the Input), and make sure both old and new approaches work (depending on the version of react-semantic-ui).
🐛 bug report
Description of the problem
When using the next version of
react-semantic-ui
, v3.0.0-beta.0, this package stops working because it is using the deprecatedRef
mechanism that was dropped fromreact-semantic-ui
.How has this issue affected you? What are you trying to accomplish?
Developing the project using beta version of
react-semantic-ui
, and the latest version of React (18).Solution
Replace
<Ref>
mechanism with a new approach (passingref
as a prop to theInput
), and make sure both old and new approaches work (depending on the version ofreact-semantic-ui
).Pull request
https://github.com/arthurdenner/react-semantic-ui-datepickers/pull/840/files
The text was updated successfully, but these errors were encountered: