Skip to content

Dustbin - Within an iframe

The HTML5 backend works inside an iframe because Bdnd listens to the native drag events of whatever document it runs in. Below, a self-contained dustbin demo is hosted in its own iframe document - dragging works entirely within it.

iframe · dustbin/single
A single BdndProvider (and its BdndDragDropManager) lives in one document, so dragging across the iframe boundary into the parent page is not supported by the HTML5 backend - the same limitation React DnD has without a cross-window backend setup.
An unhandled error has occurred. Reload 🗙