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
This is probably similar to #134
The plotly_relayout do trigger with mouse drag correctly.
However, this is not the case for touch drag.
To reproduce the problem please try open https://plotly.com/javascript/3d-surface-plots/
and execute document.getElementById("myDiv_1").on('plotly_relayout',()=>{console.log("relayout")});
you can see that the console doesn’t log when using touch emulator.
Another problem is mouse scroll zoom. The plotly report older camera vector. After subscribe to plotly_relayout, please then do mouse scroll zoom and execute
This is probably similar to #134
The plotly_relayout do trigger with mouse drag correctly.
However, this is not the case for touch drag.
To reproduce the problem please try open
https://plotly.com/javascript/3d-surface-plots/
and execute
document.getElementById("myDiv_1").on('plotly_relayout',()=>{console.log("relayout")});
you can see that the console doesn’t log when using touch emulator.
I also tested with https://cdn.plot.ly/plotly-latest. The problem is still reproducible.
Another problem is mouse scroll zoom. The plotly report older camera vector. After subscribe to plotly_relayout, please then do mouse scroll zoom and execute
Plotly.relayout(document.getElementById("myDiv_1"), document.getElementById("myDiv_1")._fullLayout.scene.camera );
You will notice this the camera position is not always current. This is not problem when pan (right click drag) or rotate view.
The text was updated successfully, but these errors were encountered: