Uppy Image Editor shows 2 editable images instead of one
See original GitHub issueI’m using @uppy/image-editor and seeing two images that are both editable (only changes to the image on the right actually seem to be saved). This is regardless of file type.
Configuration looks like this:
<Dashboard
uppy={uppy}
metaFields={[
{ id: 'name', name: 'Name', placeholder: 'File name' },
]}
plugins={['ImageEditor']}
locale={{
strings: {
// Text to show on the droppable area.
// `%{browse}` is replaced with a link that opens the system file selection dialog.
dropHereOr: 'Drop here or %{browse}',
// Used as the label for the link that opens the system file selection dialog.
browse: 'browse',
},
}}
/>
Versions:
"@uppy/core": "1.13.2",
"@uppy/image-editor": "0.1.6",
"@uppy/react": "1.10.8",
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Image Editor - Uppy
@uppy/image-editor allows users to crop, rotate, zoom and flip images that are added to Uppy. Designed to be used with the Dashboard UI...
Read more >Dashboard - Uppy
Image previews; Metadata editor; Upload progress; Ability to pause or cancel (depending on the uploader plugin) uploads. import ...
Read more >const - Uppy
With this option set to true , users can upload some files, and then add more files and upload those as well. A...
Read more >Drag & Drop - Uppy
The @uppy/drag-drop plugin renders a drag and drop area for file selection. it can be useful when you only want the local device...
Read more >Writing Plugins - Uppy
Render some custom UI element, e.g., StatusBar or Dashboard. · Do the actual uploading, e.g., XHRUpload or Tus. · Do work before the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, I got it working by removing the
target
option when setting up the ImageEditor, following the guidance here: https://uppy.io/docs/react/dashboard/#Props.https://codesandbox.io/s/romantic-ride-lsw4f?file=/src/App.js
We probably should double-mention this in the docs 🤔
@arturi Here is a codesandbox reproduction where I am seeing the double image issue:
https://codesandbox.io/s/gifted-feather-5lvks?file=/src/App.js