downshift 8.3.2 → 8.3.3

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.
@@ -3769,7 +3769,8 @@ function useMultipleSelection(userProps) {
3769
3769
  } else if (selectedItemRefs.current[activeIndex]) {
3770
3770
  selectedItemRefs.current[activeIndex].focus();
3771
3771
  }
3772
- }, [activeIndex, isInitialMount]);
3772
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3773
+ }, [activeIndex]);
3773
3774
  useControlPropsValidator({
3774
3775
  props: props,
3775
3776
  state: state
@@ -3756,7 +3756,8 @@ function useMultipleSelection(userProps) {
3756
3756
  } else if (selectedItemRefs.current[activeIndex]) {
3757
3757
  selectedItemRefs.current[activeIndex].focus();
3758
3758
  }
3759
- }, [activeIndex, isInitialMount]);
3759
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3760
+ }, [activeIndex]);
3760
3761
  useControlPropsValidator({
3761
3762
  props: props,
3762
3763
  state: state
@@ -3612,7 +3612,8 @@ function useMultipleSelection(userProps) {
3612
3612
  } else if (selectedItemRefs.current[activeIndex]) {
3613
3613
  selectedItemRefs.current[activeIndex].focus();
3614
3614
  }
3615
- }, [activeIndex, isInitialMount]);
3615
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3616
+ }, [activeIndex]);
3616
3617
  useControlPropsValidator({
3617
3618
  props: props,
3618
3619
  state: state
@@ -3752,7 +3752,8 @@ function useMultipleSelection(userProps) {
3752
3752
  } else if (selectedItemRefs.current[activeIndex]) {
3753
3753
  selectedItemRefs.current[activeIndex].focus();
3754
3754
  }
3755
- }, [activeIndex, isInitialMount]);
3755
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3756
+ }, [activeIndex]);
3756
3757
  useControlPropsValidator({
3757
3758
  props: props,
3758
3759
  state: state
@@ -5153,7 +5153,8 @@
5153
5153
  } else if (selectedItemRefs.current[activeIndex]) {
5154
5154
  selectedItemRefs.current[activeIndex].focus();
5155
5155
  }
5156
- }, [activeIndex, isInitialMount]);
5156
+ // eslint-disable-next-line react-hooks/exhaustive-deps
5157
+ }, [activeIndex]);
5157
5158
  useControlPropsValidator({
5158
5159
  props: props,
5159
5160
  state: state