Skip to content

Commit c09ac0a

Browse files
committed
[BUILD]
1 parent 1b12d27 commit c09ac0a

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

dist/ol-ext.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6555,6 +6555,10 @@ ul.ol-legend li div {
65556555
width: 2em;
65566556
height: 100%;
65576557
cursor: n-resize;
6558+
-webkit-user-select: none;
6559+
-moz-user-select: none;
6560+
-ms-user-select: none;
6561+
user-select: none;
65586562
}
65596563
.ol-collection-list li .ol-order:before {
65606564
content: '';

dist/ol-ext.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2654,6 +2654,7 @@ ol.ext.input.Checkbox = class olextinputCheckbox extends ol.ext.input.Base {
26542654
* @constructor
26552655
* @fires item:select
26562656
* @fires item:dblclick
2657+
* @fires item:keydown
26572658
* @fires item:order
26582659
* @extends {ol.Object}
26592660
* @param {*} options
@@ -2791,13 +2792,20 @@ ol.ext.input.Collection = class olextinputCollection extends ol.Object {
27912792
break;
27922793
}
27932794
// Select
2794-
case 'Enter': {
2795-
console.log('enter')
2795+
case ' ':
2796+
case 'Space': {
27962797
e.preventDefault();
27972798
e.stopPropagation();
27982799
this.select(item);
27992800
break;
28002801
}
2802+
case 'Tab': {
2803+
break;
2804+
}
2805+
default: {
2806+
this.dispatchEvent({ type: 'item:keydown', key: e.key, originalEvent: e, position: pos, item: item })
2807+
break;
2808+
}
28012809
}
28022810
}.bind(this)
28032811
},

dist/ol-ext.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ol-ext.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)