Skip to content

Library overrides onPointerDown callbacks #166

@CerealeZ

Description

@CerealeZ

Hi

I encountered a problem when using pointerDown events on DOM elements within the parent element. The functions are simply not being called.

<div ref={parent}>
  <div>
    <button
      onPointerDown={() => {
        console.log("Not calling the function");
      }}
    ></button>
  </div>
</div>;

The only solution I have seen so far is to disable the library when manipulating elements with such events.

I would like to know if there is any other way to solve this problem or if it is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions