xrutayisire/react-js-cron

Cron appears to use deprecated antd property

Closed this issue · 2 comments

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]

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

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