Open allmarkedup opened 1 year ago
Adding a cropFiles entry in the dropPane config throws an error and prevents the drop pane from functioning.
cropFiles
dropPane
It doesn't seem to matter what the value is (true or false) - the error is thrown if the cropFiles key is present. The following will throw an error:
true
false
client .picker({ container: "#my-drop-pane", displayMode: "dropPane", dropPane: { cropFiles: true, overlay: false, onSuccess: function (res) { console.log(res); }, }, }) .open();
The dropPane options should accept a cropFiles option, as described in the docs.
Including a cropFiles entry in the dropPane options throws an error.
This fiddle (with cropFiles option) throws an error: https://jsfiddle.net/he9k8c7w/4/ Remove the cropFiles option and it works fine: https://jsfiddle.net/wftLu57z/
Adding a
cropFiles
entry in thedropPane
config throws an error and prevents the drop pane from functioning.It doesn't seem to matter what the value is (
true
orfalse
) - the error is thrown if thecropFiles
key is present. The following will throw an error:Expected Behavior
The
dropPane
options should accept acropFiles
option, as described in the docs.Current Behavior
Including a
cropFiles
entry in thedropPane
options throws an error.Steps to Reproduce (for bugs)
This fiddle (with
cropFiles
option) throws an error: https://jsfiddle.net/he9k8c7w/4/ Remove thecropFiles
option and it works fine: https://jsfiddle.net/wftLu57z/Additional Screenshots
Your Environment