xrutayisire / react-js-cron

A React cron editor built with antd
https://xrutayisire.github.io/react-js-cron/?path=/docs/reactjs-cron--demo
MIT License
238 stars 105 forks source link

Cron appears to use deprecated antd property #55

Closed Pete-Fowler closed 1 year ago

Pete-Fowler commented 1 year ago

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):

xrutayisire commented 1 year ago

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 commented 1 year ago

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