diff --git a/.changeset/new-sloths-wink.md b/.changeset/new-sloths-wink.md new file mode 100644 index 0000000000..9af30a538b --- /dev/null +++ b/.changeset/new-sloths-wink.md @@ -0,0 +1,5 @@ +--- +'react-select': patch +--- + +Disable use of ResizeObserver for menu position auto-updating to avoid potential breaking changes. diff --git a/packages/react-select/src/components/Menu.tsx b/packages/react-select/src/components/Menu.tsx index ac98727a93..92e2493461 100644 --- a/packages/react-select/src/components/Menu.tsx +++ b/packages/react-select/src/components/Menu.tsx @@ -647,7 +647,8 @@ export const MenuPortal = < cleanupRef.current = autoUpdate( controlElement, menuPortalRef.current, - updateComputedPosition + updateComputedPosition, + { elementResize: false } ); } }, [controlElement, updateComputedPosition]);