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

Make it work with react-semantic-ui v.3 #839

Open
avsd opened this issue Mar 21, 2023 · 0 comments
Open

Make it work with react-semantic-ui v.3 #839

avsd opened this issue Mar 21, 2023 · 0 comments

Comments

@avsd
Copy link

avsd commented Mar 21, 2023

🐛 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 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).

Pull request

https://github.com/arthurdenner/react-semantic-ui-datepickers/pull/840/files

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

1 participant