Attachment behavior fix for Firefox
This commit is contained in:
parent
f98743dd9b
commit
aba7e86cbc
13 changed files with 223 additions and 123 deletions
|
@ -154,11 +154,6 @@ const Messaging = (props) => {
|
|||
e.preventDefault();
|
||||
}
|
||||
};
|
||||
const handleDrop = (e) => {
|
||||
e.preventDefault();
|
||||
setShowDropZone(false);
|
||||
console.log(e.dataTransfer.files[0]);
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
|
@ -173,6 +168,7 @@ const Messaging = (props) => {
|
|||
open={showDialog}
|
||||
dropZone={showDropZone}
|
||||
onClose={handleSendDialogClose}
|
||||
onDrop={() => setShowDropZone(false)}
|
||||
topicUrl={selectedTopicUrl}
|
||||
message={message}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue