Skip to content

Commit 2d57fae

Browse files
committed
component.Label: draggable=false attribute (just for filing a chrome bug)
1 parent bbc15f7 commit 2d57fae

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

resources/scss/src/dialog/_Base.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@
6363
.neo-panel-header-text {
6464
color : v(dialog-header-color);
6565
pointer-events: none;
66+
user-drag : none; // not supported yet
6667
user-select : none;
68+
69+
-webkit-user-drag: none;
6770
}
6871
}
6972
}

src/component/Label.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class Label extends Component {
2929
* @member {Object} _vdom={tag: 'label'}
3030
*/
3131
_vdom: {
32-
tag: 'label'
32+
tag : 'label',
33+
draggable: false
3334
}
3435
}}
3536

0 commit comments

Comments
 (0)