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

OSD in an iframe fails to end drag #579

Closed
waltsatan opened this issue Jan 23, 2015 · 5 comments
Closed

OSD in an iframe fails to end drag #579

waltsatan opened this issue Jan 23, 2015 · 5 comments
Assignees
Labels

Comments

@waltsatan
Copy link

I have an OpenSeadragon viewer inside an iframe. I'm able to pick up the mouseup outside the iframe by attaching a $(document).add(parent.document).mouseup() listener, but how can I forward this to the viewer?
I've tried:

viewer.raiseEvent('canvas-drag-end');
viewer.raiseEvent('mouseup');
$( "#openseadragon" ).trigger( "mouseup" );

... to no avail.

Thanks!
Alan

@msalsbery
Copy link
Member

A fix for that is being worked on right now. Should be in soon, hopefully in the 1.2.1 release early next week.

@waltsatan
Copy link
Author

Perfect - thanks for the update.

@EmilyReif
Copy link

What's the update on this?

Thanks!

@iangilman
Copy link
Member

@msalsbery ?

@avandecreme
Copy link
Member

Was fixed in #790 if the iframe and the containing window are on the same domain.

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

No branches or pull requests

5 participants