@nectary/components 4.6.1 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-menu/index.js +1 -1
- package/color-menu/index.js +1 -1
- package/package.json +1 -1
- package/select-menu/index.js +1 -1
package/action-menu/index.js
CHANGED
|
@@ -88,9 +88,9 @@ defineCustomElement('sinch-action-menu', class extends NectaryElement {
|
|
|
88
88
|
case 'Enter':
|
|
89
89
|
case 'Space':
|
|
90
90
|
{
|
|
91
|
-
e.preventDefault();
|
|
92
91
|
const $opt = this.#findSelectedOption();
|
|
93
92
|
if ($opt !== null) {
|
|
93
|
+
e.preventDefault();
|
|
94
94
|
$opt.click();
|
|
95
95
|
}
|
|
96
96
|
break;
|
package/color-menu/index.js
CHANGED
|
@@ -151,9 +151,9 @@ defineCustomElement('sinch-color-menu', class extends NectaryElement {
|
|
|
151
151
|
case 'Space':
|
|
152
152
|
case 'Enter':
|
|
153
153
|
{
|
|
154
|
-
e.preventDefault();
|
|
155
154
|
const $option = this.#findSelectedOption();
|
|
156
155
|
if ($option !== null) {
|
|
156
|
+
e.preventDefault();
|
|
157
157
|
this.#dispatchChangeEvent($option);
|
|
158
158
|
}
|
|
159
159
|
break;
|
package/package.json
CHANGED
package/select-menu/index.js
CHANGED
|
@@ -215,9 +215,9 @@ defineCustomElement('sinch-select-menu', class extends NectaryElement {
|
|
|
215
215
|
case 'Space':
|
|
216
216
|
case 'Enter':
|
|
217
217
|
{
|
|
218
|
-
e.preventDefault();
|
|
219
218
|
const $option = this.#findSelectedOption();
|
|
220
219
|
if ($option !== null) {
|
|
220
|
+
e.preventDefault();
|
|
221
221
|
this.#dispatchChangeEvent($option);
|
|
222
222
|
}
|
|
223
223
|
break;
|