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.

Influence of HTML binded element when dragging Objects

Home Forums Programming Influence of HTML binded element when dragging Objects

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #66569
    David Duperron
    Customer

    Hi!
    I’ve just created some custom binded HTML elements (div) to display some information about some 3D objects in my scene. Everything works fine until I want to drag/move some other objects in my scene:
    when the mouses passes over one of these HTML binded elements, the dragged objects jumps in the upper leftcorner of the 3D view (like if I had moved my pointer to this upper left corner).
    Is there some CSS property or tweak to be added somewhere to avoid that?
    Thanks for the help!
    Regards

    David

    #66572
    kdv
    Participant

    Disable “pointer-events” for them.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #66574
    David Duperron
    Customer

    perfect! Thanks!

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