Skip to content

[BUG] "mousemove" is not working on drag but "pointermove" event will work #1149

@dhruvsakariya

Description

@dhruvsakariya

Problem
When i am using "react-tooltip" with my "react-simple-maps" it is not moving when i start dragging around the map.

react-tooltip.mousemove.mp4

My Thought
After Looking into code base i have noticed that there is "mousemove" event is attatched for this work but it will not triggered when we start dragging. to also support dragging we need to replace this with "pointermove" event.

Describe alternatives
If there is any way to achive floating tooltip with other solution please show me that path and i am very thankful for that.

Additional context
Thanks you for spotting this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions