Skip to content

Commit c88aee0

Browse files
committed
Prevent mapbox removing select outlines on every drag operation [1852]
- Reason: `cartesian/select.js.prepSelect` expects `dragOptions.plotinfo` to have an `id` property set. Mapbox base plot wasn't setting this id property and thus cartesian select always cleared existing outlines (user holding Shift key)
1 parent e7815e9 commit c88aee0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plots/mapbox/mapbox.js

+1
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ proto.updateFx = function(fullLayout) {
388388
element: self.div,
389389
gd: gd,
390390
plotinfo: {
391+
id: self.id,
391392
xaxis: self.xaxis,
392393
yaxis: self.yaxis,
393394
fillRangeItems: fillRangeItems

0 commit comments

Comments
 (0)