You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I zoom in on a visualization through CSS perspective transformations then brushing on that visualizations will behave weird because the wrong mouse coordinates will be used. I created a small example to demonstrate this. When brushing over the circle, the selection does not follow the cursor.
The text was updated successfully, but these errors were encountered:
There’s a long history of browsers not implementing getScreenCTM correctly, and generally speaking I don’t think D3 should attempt to workaround browser bugs or quirks: D3 is not a compatibility layer.
The properties MouseEvent.offsetX and MouseEvent.offsetY seem to provide the right coordinates in Chrome and Firefox. I suppose they could be used to fix this without much trouble. But their specification is currently still experimental.
If I zoom in on a visualization through CSS perspective transformations then brushing on that visualizations will behave weird because the wrong mouse coordinates will be used. I created a small example to demonstrate this. When brushing over the circle, the selection does not follow the cursor.
The text was updated successfully, but these errors were encountered: