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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-sellmate-ui-kit",
3
- "version": "3.14.19",
3
+ "version": "3.14.20",
4
4
  "author": "Sellmate Dev Team <dev@sellmate.co.kr>",
5
5
  "description": "Sellmate UI Kit",
6
6
  "license": "MIT",
@@ -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?.focus();
154
+ input.focus();
154
155
  } else {
155
- input?.blur();
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?.focus();
164
+ if (sSelectRef.value) sSelectRef.value.focus();
164
165
  handleSelectKey(e);
165
166
  }
166
167