You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just recently added react-arborist to a React 18.2 app and have discovered it seems to break file and folder dropping on an <input type="file" multiple />, at least, it prevents onchange events from being delivered to the input onchange handler.
With a single, simple <Tree /> in the app, none of the file <input /> drop targets see onchanged events, and it appears something is eating the event, as a regular drop onto a page other than an input element opens the file in another browser tab.
If I comment out the <Tree />, the drop targets all accept file & folder drops again.
I've tried running <Tree /> with all of disableEdit disableDrag disableDrop in place, but it still breaks input.
Any suggestions?
The text was updated successfully, but these errors were encountered:
Somewhat similar issue I am facing. Rendering the tree component is preventing this event -> document.addEventListener('dragend', handleDragEndGlobal) from no longer being called.
I just recently added react-arborist to a React 18.2 app and have discovered it seems to break file and folder dropping on an
<input type="file" multiple />
, at least, it prevents onchange events from being delivered to the input onchange handler.With a single, simple
<Tree />
in the app, none of the file<input />
drop targets see onchanged events, and it appears something is eating the event, as a regular drop onto a page other than an input element opens the file in another browser tab.If I comment out the
<Tree />
, the drop targets all accept file & folder drops again.I've tried running
<Tree />
with all of disableEdit disableDrag disableDrop in place, but it still breaks input.Any suggestions?
The text was updated successfully, but these errors were encountered: