dropzone icon indicating copy to clipboard operation
dropzone copied to clipboard

DropZone not triggered over iFrame

Open sunilguptasg opened this issue 2 years ago • 0 comments

I have an iFrame component and I wish to use DropZone - the onDrag and onDrop are not triggered.

Don't know if this is an enhancement, bug or an issue on how I created the iFrame:

html.IFrameElement _iframeElement;
_iframeElement = html.IFrameElement();
_iframeElement.id = iFrameId;
_iframeElement.allow = 'accelerometer; gyroscope;';
_iframeElement.allowFullscreen = true;
_iframeElement.src = initialVideo;
_iframeElement.style.border = 'none';
_iframeElement.style.cursor = 'auto';
_iframeElement.style.width = '100%';
_iframeElement.style.height = '100%';

// ignore: undefined_prefixed_name
ui.platformViewRegistry.registerViewFactory(iFrameId, (int viewId) => _iframeElement);

videoWidget = HtmlElementView(
  key: key,
  viewType: iFrameId,
);

sunilguptasg avatar Jun 05 '22 14:06 sunilguptasg