hi-tm 0.8.5 → 0.8.6

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.
@@ -282,7 +282,7 @@ function CreatableSelect({ options = [], value, onChange, onClick, onValueChange
282
282
  if (!isDisabled) {
283
283
  setIsOpen((prev) => !prev);
284
284
  if (!isOpen && inputRef.current) {
285
- inputRef.current.focus();
285
+ inputRef.current.focus({ preventScroll: true });
286
286
  }
287
287
  }
288
288
  }, [isDisabled, isOpen]);
@@ -328,7 +328,7 @@ function CreatableSelect({ options = [], value, onChange, onClick, onValueChange
328
328
  if (!isDisabled) {
329
329
  setIsOpen((prev) => !prev);
330
330
  if (!isOpen && inputRef.current) {
331
- inputRef.current.focus();
331
+ inputRef.current.focus({ preventScroll: true });
332
332
  }
333
333
  }
334
334
  }, [isDisabled, isOpen]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hi-tm",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "styles": "dist/styles/globals.css",
5
5
  "main": "dist/index.js",
6
6
  "exports": {