Skip to main content

Limitations

Android:

  • This library requires SDK >= 24 for Compatibility. It acts as a normal <View /> on SDK < 24
  • If you want to drag and drop across different apps, you'll need to have both apps open in multi-window mode. Here is a link to the official documentation.

Web:

  • Dropping multiple media files is fully supported. However, for dragging, it is only available across different instances of <DragDropContentView />. For external dragging (to other websites or the desktop), you must pass only a single media file to the draggableSources.
  • Dropped files include a blob URI in the uri property. The path property is not available on web. Use text for plain-text drops, or enable includeBase64 to also receive a base64 data URL.
  • Blob URIs in uri hold memory until explicitly released. Each asset exposes a release() method — call asset.release?.() when done, or use the useDropAssets() hook for automatic cleanup on unmount.