OpusCapita / filemanager

React based FileManager for browser ( + FS REST API for Node.js and Express)

Home Page:https://demo.core.dev.opuscapita.com/filemanager/master/?currentComponentName=FileManager&maxContainerWidth=100%25&showSidebar=false

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File-manager block drag and drop event from react-dropzone

bigbrownies opened this issue · comments

Hi,

when i use react-dropzone with file-manager in same page, filemanager block something.
So i can't drag and drog file in my drop zone.

<ReactDropZone   onDrop={(fileAccepted, filesRejected) =>
              console.log(
                '--- accepted',
                fileAccepted,
                ' --- rejected',
                filesRejected
              )
            }
/>

<FileManager className={styles.filemanager}>
     <FileNavigator
              id="filemanager-1"
              api={apiNuxeo}
              capabilities={(apiOptions, actions) =>
                this.getToolBar(actions, apiOptions)
              }
              listViewLayout={listViewLayout}
              viewLayoutOptions={connectorNodeV1.viewLayoutOptions}
ref={(instance) => {
 this.child = instance;
}}
 />
</FileManager>

any idea ?

Meta-Info Value
ExtProjectId JCCMMN-01
Original Estimation ???h
Remaining Estimation ???h

I created a PR. So, just wait for a release.

#275

Thanks

Does it solve your problem?
If yes, please close the issue.

Solved ! thanks you