hplx-react-elements-dev 1.0.82 → 1.0.83

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/esm/index.js CHANGED
@@ -17969,7 +17969,7 @@ var InputTag = function InputTag(_a) {
17969
17969
  if (focusIndex < dropdownArr.length - 1) {
17970
17970
  var focusI = focusIndex + 1;
17971
17971
 
17972
- if (wrapperRef && wrapperRef.current) {
17972
+ if (wrapperRef && wrapperRef.current && focusI > 1) {
17973
17973
  wrapperRef.current.scrollBy(0, ITEM_HEIGHT);
17974
17974
  }
17975
17975
 
@@ -17982,7 +17982,7 @@ var InputTag = function InputTag(_a) {
17982
17982
  if (focusIndex > 0) {
17983
17983
  var focusI = focusIndex - 1;
17984
17984
 
17985
- if (wrapperRef && wrapperRef.current) {
17985
+ if (wrapperRef && wrapperRef.current && focusI < dropdownArr.length - 2) {
17986
17986
  wrapperRef.current.scrollBy(0, -ITEM_HEIGHT);
17987
17987
  }
17988
17988
 
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "frontend",
10
10
  "healthplix"
11
11
  ],
12
- "version": "1.0.82",
12
+ "version": "1.0.83",
13
13
  "main": "dist/esm/index.js",
14
14
  "module": "dist/esm/index.js",
15
15
  "types": "dist/esm/index.d.ts",