From ab0ddecd0119eb56f9cceeb6f56055c94a7b433d Mon Sep 17 00:00:00 2001 From: Eric Lavault <39483232+lvlte@users.noreply.github.com> Date: Thu, 14 Sep 2023 19:28:02 +0200 Subject: [PATCH] Pass sublot id to `Fx.click()` to ensure plotly_click event is emitted on touchscreens. --- src/components/selections/select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/selections/select.js b/src/components/selections/select.js index eb20f71973c..b0d76a1b24f 100644 --- a/src/components/selections/select.js +++ b/src/components/selections/select.js @@ -456,7 +456,7 @@ function prepSelect(evt, startX, startY, dragOptions, mode) { } } - Fx.click(gd, evt); + Fx.click(gd, evt, plotinfo.id); }).catch(Lib.error); };