silx-kit / h5web

React components for data visualization and exploration

Home Page:https://h5web.panosc.eu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SelectionTool interaction at mouse down

vallsv opened this issue · comments

Is your feature request related to a problem?

Hi,

I try to use that component to display something at the mouse down.

(and then fine tune it's location).

But the callback function is not triggered at the mouse down.

It is actually only called at the first move after the mouse down.

Requested solution or feature

The callback could be called when the mouse is pressed.

Alternatives you've considered

Use another tool or create my own SelectionTool.

Additional context

I use @h5web/lib": "7.0.2-beta.0