Ionic6: IonPopover with button click

Hi,

After upgrading to Ionic 6, the button inside IonPopover stopped responding. When I click on the button nothing happens. I have tried to read about it and do some research, but no luck. I have a simple component that show the popover

 <IonPage>
            <IonContent fullscreen>
                <IonPopover
                    keyboardClose
                    isOpen={showPopover.open}
                    showBackdrop>
                    <IonButton onClick={() => console.log("Button clicked")}>Click me</IonButton>

                </IonPopover>

Anyone who knows why?