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

selction:created event never triggers #32

Open
salman-git opened this issue Apr 28, 2018 · 0 comments
Open

selction:created event never triggers #32

salman-git opened this issue Apr 28, 2018 · 0 comments

Comments

@salman-git
Copy link

Hi, I am using OpenseadragonFabricjsOverlay fabricCanvas over osd. I have hooked 'canvas-press' and 'canvas-release' events of viewer and other events of canvas like mouse:move, mouse:out, mouse:out and selection:created. all events are working correctly except selection:created. I have checked all my objects are selectable. What I think is that canvas-press and canvas-release is somehow blocking selection:created event.
why am I using viewer.addHandler('canvas-press'...) instead of canvas.on('mouse:down')? well, the canvas.on('mouse:down') is also not working.

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