Skip to content

Drag and Drop GhostNode doesn't work on Safari #365

@costonb

Description

@costonb

When using Safari and enabling both draggable and pan for the org chart, the "ghostNode" doesn't show up when doing drag and drop after panning the chart. This seems to be a Safari specific issue.

I was able to reproduce this by taking your drag and drop demo and enabling panning. Then loading the page in Safari. After panning the content and then trying to drag/drop a node I saw that the ghost image wasn't appearing. It appears that the code in the CreateGhostNode function doesn't seem to work on Safari. If I disable the createGhostNode function it will show a partial node or nothing when dragging if I've panned. Other browsers seem to work fine with the code enabled or disabled. Chrome seems to work even better without the ghost node than with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions