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

Cron appears to use deprecated antd property #55

Closed
Pete-Fowler opened this issue Jun 14, 2023 · 2 comments
Closed

Cron appears to use deprecated antd property #55

Pete-Fowler opened this issue Jun 14, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Pete-Fowler
Copy link

Describe the bug
Cron seems to be using a deprecated antd property. This could be fixed, or better yet, if Cron could be decoupled from a particular CSS package like antd.

To Reproduce
Used the component per the docs.

The component logs this error to the console:
Warning: [antd: Select] dropdownMatchSelectWidth is deprecated. Please use popupMatchSelectWidth instead.

Expected behavior
No errors about Cron using deprecated properties.

Screenshots
image

Versions (please complete the following information):

  • react-js-cron version [3.2.0]
  • Ant Design version: [5.6.1]
  • React version: [e.g. 18.2.0]
  • OS: [Windows]
  • Browser [Brave]
@xrutayisire xrutayisire self-assigned this Jun 14, 2023
@xrutayisire xrutayisire added the bug Something isn't working label Jun 14, 2023
@xrutayisire
Copy link
Owner

Thank you for the bug report, I will fix that in a new release ASAP. (should be good before the end of the WE)

@xrutayisire
Copy link
Owner

Fixed in latest react-js-cron v4.0.0 version 🥳🚀. It's a breaking change since popupMatchSelectWidth is only in antd >= v5.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants