Skip to content

Commit 89e1342

Browse files
committed
drop user-select in sankey and parcoords
1 parent cab6264 commit 89e1342

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/plot_api/plot_api.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3725,7 +3725,6 @@ function makePlotFramework(gd) {
37253725
// Make the svg container
37263726
fullLayout._paperdiv = fullLayout._container.selectAll('.svg-container').data([0]);
37273727
fullLayout._paperdiv.enter().append('div')
3728-
.classed('user-select-none', true)
37293728
.classed('svg-container', true)
37303729
.style('position', 'relative');
37313730

src/traces/parcoords/parcoords.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,7 @@ function styleExtentTexts(selection) {
350350
selection
351351
.classed(c.cn.axisExtentText, true)
352352
.attr('text-anchor', 'middle')
353-
.style('cursor', 'default')
354-
.style('user-select', 'none');
353+
.style('cursor', 'default');
355354
}
356355

357356
function parcoordsInteractionState() {
@@ -655,8 +654,7 @@ module.exports = function parcoords(gd, cdModule, layout, callbacks) {
655654

656655
axis.selectAll('text')
657656
.style('text-shadow', '1px 1px 1px #fff, -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff')
658-
.style('cursor', 'default')
659-
.style('user-select', 'none');
657+
.style('cursor', 'default');
660658

661659
var axisHeading = axisOverlays.selectAll('.' + c.cn.axisHeading)
662660
.data(repeat, keyFun);
@@ -673,7 +671,6 @@ module.exports = function parcoords(gd, cdModule, layout, callbacks) {
673671
.classed(c.cn.axisTitle, true)
674672
.attr('text-anchor', 'middle')
675673
.style('cursor', 'ew-resize')
676-
.style('user-select', 'none')
677674
.style('pointer-events', 'auto');
678675

679676
axisTitle

src/traces/sankey/render.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,6 @@ module.exports = function(gd, svg, calcData, layout, callbacks) {
10261026
.append('text')
10271027
.classed(c.cn.nodeLabel, true)
10281028
.attr('transform', textFlip)
1029-
.style('user-select', 'none')
10301029
.style('cursor', 'default')
10311030
.style('fill', 'black');
10321031

0 commit comments

Comments
 (0)