In order to get a ComboBox to work inside a Bootstrap 5 Offcanvas, I attempted to set the appendTo ref per this thread.
It works correctly, but I'm seeing this warning in the browser console:
Warning: Failed prop type: Invalid prop `popupSettings.appendTo` of type `object` supplied to `ComboBox`, expected a single ReactElement.
The documentation says that appendTo accepts an HTMLElement, not a ReactElement.
Is this a bug with the propTypes provided for the ComboBoxWithoutContext class, or is there some other issue with my code that I'm not seeing?
Fiddle is available here.