Closed
Description
Version
v6.4.0
Steps to reproduce
I'm getting a warning 'ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node' since updating to React 19.
The stack trace points at this code:
react-bootstrap-typeahead/src/components/RootClose/useClickOutside.ts
Lines 47 to 51 in b133250
I'll see if I can make a minimal reproduction later.
Expected Behavior
It shouldn't produce warnings.
Actual Behavior
It's producing warnings as of React 19.