Moveable target maybe not update. Consider to add componentWillReceiveProps for MoveableManager
Hi,
Sorry I can not make a codepen demo for this issue, because my case is complicate. I've make a complex app that using your lib. Everything work perfect, but when there is only one item selected, then click outside (click on container to unselect it), Moveable target is set to null but the control box is not disappear.

Add this to MoveableManager.tsx will fixed:
UNSAFE_componentWillReceiveProps(nextProps: Readonly<MoveableManagerProps<T>>, nextContext: any): void {
if (nextProps.target !== this.props.target) {
this.setState({target: nextProps.target});
}
}
You maybe consider to add this to your library.
This is video demo for before and after add above code: https://drive.google.com/file/d/1YBa_kK5QL7OLjboV6krTMOzSulxhUeOb/view
@ladifire
What version of react-moveable are you using?
if i change target properties exsternally (eg. width) moveable does not 'react'!