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

Cornerstone Tools in a nested div doesnt fire the mouse move event #1574

Open
Sriram-Ananth opened this issue Jan 22, 2025 · 0 comments
Open

Comments

@Sriram-Ananth
Copy link

Sriram-Ananth commented Jan 22, 2025

Hi,

Have an issue using Cornerstone tools when the element used for image display is embedded inside another div. I have created a simple test application to load an image and to init the Length tool. When the div used for loading the image is in the main body then the tool works just fine. However when the div is nested with another div then the tool doesnt work. The mouse move event fires only when the cursor is outside the parent div. Can someone help with finding a solution?

I have attached a sample HTML file with the code. If the "dicomImage" div is in the body element then everything works fine. If its located with the "parentDiv" then the mouse move event doesnt work.

Warm regards,

cornerstone tools.txt

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