filestack-react icon indicating copy to clipboard operation
filestack-react copied to clipboard

actionOptions don't properly update in the picker on prop change

Open CalinLeafshade opened this issue 5 years ago • 0 comments

Due to the referenced line the action options are cloned in the component constructor and sent to the picker. This means that if they are changed after mounting then the picker inside the state will not use the new action options.

https://github.com/filestack/filestack-react/blob/c10692a0bccf89f1c9f0a294723d415796619d78/src/ReactFilestack.jsx#L50

CalinLeafshade avatar Jul 30 '20 17:07 CalinLeafshade