We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a1b14b commit c0ac6f5Copy full SHA for c0ac6f5
.changeset/great-places-post.md
@@ -0,0 +1,6 @@
1
+---
2
+'@modelscope-studio/pro': patch
3
+'modelscope_studio': patch
4
5
+
6
+fix: drop container of MulimodalInput
frontend/pro/multimodal-input/multimodal-input.tsx
@@ -392,9 +392,13 @@ export const MultimodalInput = sveltify<
392
...uploadConfig?.imageProps,
393
}}
394
disabled={uploadDisabled}
395
- getDropContainer={() => {
396
- return uploadConfig?.fullscreenDrop ? document.body : null;
397
- }}
+ getDropContainer={
+ uploadConfig?.fullscreenDrop
+ ? () => {
398
+ return document.body;
399
+ }
400
+ : undefined
401
402
items={validFileList}
403
placeholder={(type) => {
404
const isDrop = type === 'drop';
0 commit comments