Open 60pfennig opened 1 year ago
"dirty -fix":
onClickOutside={() =>
setIsOpen((isOpen) => {
return !isOpen ? false : true;
})
}
I am using it fine with react 18 and next 13, but for me the clickoutside never gets called
Yes, it is breaking
Hi, after upgrading to React 18 with Next.js the onClickOutside function get called immediatly hitting the child of popover. So there is no chance to open the popver because the initial click on the open button gets somehow recognized as a clickOutside and reverts the isOpen change.