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 +2 -2
- package/package.json +1 -1
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
|
|