Open
Description
Adding a cropFiles
entry in the dropPane
config throws an error and prevents the drop pane from functioning.
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:
client
.picker({
container: "#my-drop-pane",
displayMode: "dropPane",
dropPane: {
cropFiles: true,
overlay: false,
onSuccess: function (res) {
console.log(res);
},
},
})
.open();
Expected Behavior
The dropPane
options should accept a cropFiles
option, as described in the docs.
Current Behavior
Including a cropFiles
entry in the dropPane
options throws an error.
Steps to Reproduce (for bugs)
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/
Additional Screenshots

Your Environment
- Version used: 3.27.0
- Browser Name and version: All latest evergreen browsers
- Operating System and version (desktop or mobile): desktop
Metadata
Metadata
Assignees
Labels
No labels