Skip to content
Snippets Groups Projects
Commit faf7c6ad authored by Jose Manuel Serrano Amaut's avatar Jose Manuel Serrano Amaut
Browse files

[FIX]: Add conditional for hidding border when dropOnLayer is true and isDragging is true

parent ccaf24c4
No related branches found
No related tags found
No related merge requests found
......@@ -674,7 +674,7 @@ const Dropzone: React.FC<DropzoneProps> = (props: DropzoneProps) => {
const finalDropzoneClassNameBorder: string | undefined = !dropzoneClassName
? undefined
: isDragging || disabled
: (isDragging && dropOnLayer) || disabled
? addClassName(dropzoneClassName, "files-ui-root-border-hide")
: dropzoneClassName;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment