The positionDropdown callback ref ran during React's commit phase before anchorRef was assigned (children refs commit before parents), so the dropdown was never positioned and the invisible backdrop stole all subsequent clicks. Switch to useLayoutEffect which runs after all refs are set. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>