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

Image disappears when dragging mouse out of the window #676

Open
treeno opened this issue Feb 24, 2013 · 1 comment
Open

Image disappears when dragging mouse out of the window #676

treeno opened this issue Feb 24, 2013 · 1 comment

Comments

@treeno
Copy link

treeno commented Feb 24, 2013

I have an image, that can be dragged around. But the image disappears, when the mousecursor enteres the icon-menu-bar-thing of Opera while dragging. I think it happens always, when the mouse leaves the area where Opera paints the websites. Leaving just the canvas/paper does not cause the error.
It works fine in Safari, Chrome and Firefox...

JavascriptError:

Event thread: mousemove
Uncaught exception: TypeError: Cannot convert 'parent' to object
Error thrown at line 2316, column 12 in (e) in file://_/raphael.js:
g.win.opera && parent.removeChild(node);
called from line 2241, column 24 in (e) in file://
_
/raphael.js:
var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,

The debugger shows, that parent is null when the error occurs.

Opera Version: 12.13
OS: OS X 10.6.8
Raphael: 2.1.0

I also found this entry on google.groups that describes the same error:
https://groups.google.com/forum/?fromgroups=#!searchin/raphaeljs/opera/raphaeljs/F8Q0gEqO4uM/N5eqNBS1mlYJ

Thanks for creating this great API!
treeno

@treeno
Copy link
Author

treeno commented Mar 13, 2013

If you have any questions, don't hesitate to ask me. My bad english might cause some problems reading this.

Cybso pushed a commit to Cybso/raphael that referenced this issue Jul 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant