Skip to content

Commit aac45fa

Browse files
committed
re-drop user-select in sankey and parcoords ONLY
1 parent 7784e18 commit aac45fa

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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)