Skip to content

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

Open
@avsd

Description

@avsd

🐛 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions