vega icon indicating copy to clipboard operation
vega copied to clipboard

Mouse signals confused by transform: scale(...)

Open isaksky opened this issue 4 years ago • 0 comments

In our app we have a full-screen mode where we want the charts to be made bigger. In order to do this, we use transform: scale(...). The problem we are having is that the scale makes it so the mouse signals no longer track correctly. The same happens in this example, when you add a scale.

Here is what it looks like normally:

image

But if you add a transform: scale(...), the tracking is off:

image

(The position of the chart is wrong in the screenshot above, but that can be solved in user code.)

Can the mouse signals be fixed to be made aware of the transform?

isaksky avatar Apr 19 '22 22:04 isaksky