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
So, as of v14.0.0, the {draggedFiles} prop on the returned hook state has been removed and the accept/reject state is only computed on drag enter and drop.
In my project, I made use of the draggedFiles prop and would like to know if there's another prop or value that I can use that would offer me the same information. As I understand it, acceptedFiles and fileRejections props are populated AFTER drag operations and the draggedFiles prop was populated DURING drag operations. Please correct me if I'm wrong.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So, as of v14.0.0,
the {draggedFiles} prop on the returned hook state has been removed and the accept/reject state is only computed on drag enter and drop.
In my project, I made use of the
draggedFiles
prop and would like to know if there's another prop or value that I can use that would offer me the same information. As I understand it,acceptedFiles
andfileRejections
props are populated AFTER drag operations and thedraggedFiles
prop was populated DURING drag operations. Please correct me if I'm wrong.Beta Was this translation helpful? Give feedback.
All reactions