Skip to content

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

Description

@Sriram-Ananth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions