quasar-ui-sellmate-ui-kit 3.14.19 → 3.14.20
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/dist/index.common.js +6 -0
- package/dist/index.css +1 -1
- package/dist/index.esm.js +6 -0
- package/dist/index.min.css +1 -1
- package/dist/index.rtl.css +1 -1
- package/dist/index.rtl.min.css +1 -1
- package/dist/index.umd.js +9002 -0
- package/dist/index.umd.min.js +6 -0
- package/package.json +1 -1
- package/src/components/SSelectSearch.vue +4 -3
package/package.json
CHANGED
|
@@ -148,11 +148,12 @@
|
|
|
148
148
|
const input = document.querySelector(
|
|
149
149
|
`.s-select-opt-${id.value} .select-search-input .search-input`,
|
|
150
150
|
);
|
|
151
|
+
if (!input) return;
|
|
151
152
|
|
|
152
153
|
if (selectedOptionIndex.value === -1) {
|
|
153
|
-
input
|
|
154
|
+
input.focus();
|
|
154
155
|
} else {
|
|
155
|
-
input
|
|
156
|
+
input.blur();
|
|
156
157
|
}
|
|
157
158
|
}
|
|
158
159
|
|
|
@@ -160,7 +161,7 @@
|
|
|
160
161
|
// input에서 arrow key가 눌렸을 때는 이벤트 전파를 막고 select의 handleSelectKey를 직접 호출
|
|
161
162
|
e.preventDefault();
|
|
162
163
|
e.stopPropagation();
|
|
163
|
-
sSelectRef.value
|
|
164
|
+
if (sSelectRef.value) sSelectRef.value.focus();
|
|
164
165
|
handleSelectKey(e);
|
|
165
166
|
}
|
|
166
167
|
|