-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Unable to drag inside an iframe #443
Comments
Hey, you need to load the CSS in your iframe, I'm not exactly sure of the best way to do that it will depend on your setup. In that sandbox you could copy |
I added the css too now. I think that the problem is that the events aren't on the document of the new iframe but on the old one it might need a pull request to change this. |
Hi, I had similar issue with cropping the image on bootstrap modal. |
If you can provide a repo or codesandbox with the issue I will take a look |
Hi Dominic, thanks for responding. The issue was the modal wasn't getting the state from the page 🤦♂️ I resolved it by making the modal into a completely different react component with its own state. Thanks |
Ah cool 👍 |
Hi, i am unable to drag the crop inside the iframe, seems that can't receive the event drag,
here there is the sandbox with the problem.
https://codesandbox.io/s/react-image-crop-demo-with-react-hooks-forked-w9fpb?file=/src/App.js
The text was updated successfully, but these errors were encountered: