@sproutsocial/seeds-react-menu 1.6.3 → 1.6.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/seeds-react-menu",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "description": "Seeds React Menu",
5
5
  "author": "Sprout Social, Inc.",
6
6
  "license": "MIT",
@@ -28,7 +28,7 @@
28
28
  "@sproutsocial/seeds-react-switch": "^1.2.1",
29
29
  "@sproutsocial/seeds-react-system-props": "^3.0.2",
30
30
  "@sproutsocial/seeds-react-theme": "^2.3.0",
31
- "@sproutsocial/seeds-react-token-input": "^1.4.0",
31
+ "@sproutsocial/seeds-react-token-input": "^1.4.2",
32
32
  "@sproutsocial/seeds-react-utilities": "^4.2.0",
33
33
  "downshift": "9.0.4",
34
34
  "motion": "^12.6.3"
@@ -163,16 +163,8 @@ export const MultiAutocomplete = <
163
163
  ...useComboboxProps,
164
164
  });
165
165
 
166
- const { isOpen, closeMenu, inputValue } = useComboboxReturnProps;
167
166
  const { popoutProps: userPopoutProps } = useComboboxProps;
168
167
 
169
- React.useEffect(() => {
170
- if (!inputValue) return;
171
- if (allMenuItems && hiddenItemsCount >= allMenuItems.length && isOpen) {
172
- closeMenu?.();
173
- }
174
- }, [hiddenItemsCount, allMenuItems?.length, isOpen, inputValue]);
175
-
176
168
  return (
177
169
  <MenuRootComponent
178
170
  {...{