Skip to content

Commit 7532508

Browse files
committed
disable interactions for slider when staticPlot is true
1 parent 6c5d30f commit 7532508

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/sliders/draw.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ function setActive(gd, sliderGroup, sliderOpts, index, doCallback, doTransition)
449449
}
450450

451451
function attachGripEvents(item, gd, sliderGroup) {
452+
if(gd._context.staticPlot) return;
453+
452454
var node = sliderGroup.node();
453455
var $gd = d3.select(gd);
454456

0 commit comments

Comments
 (0)