-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
Active DiscussionThis discussion is still in progressThis discussion is still in progressArea: ComponentsRelated to the component library (core) of this systemRelated to the component library (core) of this systemType: BugSomething isn't workingSomething isn't working
Description
Description
The FileUploaderDropzone does not block drag/drop of files if they do not have the correct acceptedMimeTypes. These files will appear in the FileUploaderItem list regardless of their type.
Link to Reproduction
https://paste.twilio.design/components/file-uploader
Steps to reproduce
- Set acceptedMimeTypes on the FileUploaderDropzone component
- Upload file via browse
- Observe only the files with the acceptedMimeTypes are selectable
- Drag any file into the dropzone
- Observe file successfully adds even if it does not have the correct acceptedMimeTypes
Paste Core Version
20.20.0
Browser
No response
Operating System
- macOS
- Windows
- Linux
Additional Information
No response
Metadata
Metadata
Assignees
Labels
Active DiscussionThis discussion is still in progressThis discussion is still in progressArea: ComponentsRelated to the component library (core) of this systemRelated to the component library (core) of this systemType: BugSomething isn't workingSomething isn't working