fix: Capture drop events in clickable padding below editor (#3376)

* fix: Capture drop events in clickable padding below editor

* fix: Inconsistency in drop handling
This commit is contained in:
Tom Moor
2022-04-15 09:03:25 -07:00
committed by GitHub
parent 0ecfa95efc
commit cf58d8e3e1
4 changed files with 82 additions and 23 deletions

View File

@@ -66,7 +66,7 @@ function CollectionDescription({ collection }: Props) {
throw err;
}
}, 1000),
[]
[collection, showToast, t]
);
const handleChange = React.useCallback(
@@ -111,7 +111,6 @@ function CollectionDescription({ collection }: Props) {
maxLength={1000}
embedsDisabled
readOnlyWriteCheckboxes
grow
/>
</React.Suspense>
) : (