@codeleap/web 3.12.22 → 3.13.0
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
|
@@ -273,11 +273,8 @@ export const Select = forwardRef<HTMLInputElement, SelectProps>(
|
|
|
273
273
|
focus: () => {
|
|
274
274
|
innerInputRef.current?.focus?.()
|
|
275
275
|
},
|
|
276
|
-
blur: () => {
|
|
277
|
-
innerInputRef.current?.blur?.()
|
|
278
|
-
},
|
|
279
276
|
}
|
|
280
|
-
}, [!!innerInputRef?.current?.focus
|
|
277
|
+
}, [!!innerInputRef?.current?.focus])
|
|
281
278
|
|
|
282
279
|
const onLoadOptions = async (inputValue, cb) => {
|
|
283
280
|
if (!!loadOptions) {
|
|
@@ -413,6 +410,8 @@ export const Select = forwardRef<HTMLInputElement, SelectProps>(
|
|
|
413
410
|
tabSelectsValue={false}
|
|
414
411
|
tabIndex={0}
|
|
415
412
|
backspaceRemovesValue={true}
|
|
413
|
+
escapeRemoves={true}
|
|
414
|
+
deleteRemoves={true}
|
|
416
415
|
{...otherProps}
|
|
417
416
|
{..._props}
|
|
418
417
|
onKeyDown={isFocused ? handleKeyDown : null}
|