Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't work with iframe #9

Closed
haxiha opened this issue Jul 1, 2018 · 1 comment
Closed

don't work with iframe #9

haxiha opened this issue Jul 1, 2018 · 1 comment

Comments

@haxiha
Copy link

haxiha commented Jul 1, 2018

hi, how can i drop a item Outside to Inside iframe ? i dragged without effect.

@cormacrelf
Copy link
Owner

cormacrelf commented Jul 1, 2018

See react-dnd/react-dnd#241

Note that the HTML5 backend does not claim to support iframes. There is a solution I haven’t tested at the bottom of that thread using the DragDropManager.getBackend() function. You could replicate it by injecting @Inject(DRAG_DROP_MANAGER) manager: DragDropManager into your component, and copying those two addEventListener lines into the equivalent Angular lifecycle hooks. Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants