chenglou / chenglou/react-motion

trigger OnMouseEnter (mouse events in general) while dragging <Motion />

Open
#351 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

If I have a drop zone for a component, and I want to trigger the drop zone's OnMouseEnter or OnMouseOver effect (let's say to change the class of the drop zone to "dropzone-success" or something) while dragging, is there a way to do this? I think right now, the div doesn't detect the mouse as being over it b/c it's technically over the component. I've been scratching my head at this one for a while, but I just can't seem to come up with a clever hack for it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.