PR #1017 fixed an issue where the closeOnOutsideClick option doesn't function correctly when the Drawer is rendered without a backdrop (#987). Consider renaming the closeOnBlur prop to closeOnInteractOutside for both Menu and Popover to maintain consistency in the approach.
Example:
useClickOutside(contentRef, (event) => {
// Close when clicking outside the content
if (closeOnInteractOutside) {
(typeof onClose === 'function') && onClose(event);
}
});