When I update the value from the disabled prop, the component does not react to its change, unless it's unmounted and mounted again. Meaning that if I set disabled to true using a button in the UI for example, the drag and drop functionality is still working.
Here's a example of the bug with the latest version of react-drag-list and a demo I got from the docs: https://codesandbox.io/s/laughing-dew-4gghz
When I update the value from the
disabledprop, the component does not react to its change, unless it's unmounted and mounted again. Meaning that if I set disabled totrueusing a button in the UI for example, the drag and drop functionality is still working.Here's a example of the bug with the latest version of
react-drag-listand a demo I got from the docs: https://codesandbox.io/s/laughing-dew-4gghz