We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Any Way to Get “When Hovered Over” to work while mousedown/dragging?

Home Forums Puzzles Any Way to Get “When Hovered Over” to work while mousedown/dragging?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29262
    GLiFTeK
    Customer

    Hi,
    I’m doing a lot of drag and drop stuff, and i’ve been using the object “distance between” puzzle in loops of item lists, some of that is giving me issues so i thought the hover puzzle would be simpler while i drag an object over another.

    turns out the hover over won’t work while user’s button is pressed while dragging another object.

    just trying to get outline to enable/disable for the “goal” object where user drags other objects to WITH hover..(have it working with distance puzzle but there’s issues with other things like lists with that)…

    Is there a work-around for this?

    thanks!

    #30718

    Hi,

    turns out the hover over won’t work while user’s button is pressed while dragging another object.

    The reason this doesn’t work is that “when hovered” considers only the first or in other words the nearest object that appears under the mouse cursor. And in your case it’s the object that is currently being dragged. That means that when you are dragging an object you are also constantly hovering above it :)

    I think we can implement an option for “when hovered” to check not only for the nearest but for all objects that appear under the cursor. We’ve added this task to our TODO list.

    Co-founder and lead developer at Soft8Soft.

    #30747
    GLiFTeK
    Customer

    I think we can implement an option for “when hovered” to check not only for the nearest but for all objects that appear under the cursor. We’ve added this task to our TODO list.

    Cool.

    I made it so if it went in then it’s trying to go out AFTER going in, then change behavior accordingly, good on desktop, lag on mobile, so ya less code the better tho!

    Quick movement will cause major issues a my thing, so ya, that would be awesome!

    Detect hover over while dragging over. Biggie!

    Thanks!

    #35857

    You can now use X-Ray option on “when hovered” to resolve this issue. See here.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.