I’m using Ionic version 6.10.1 to build an app. Precisely, I’m using ionic with react syntax.
In my app, I wanted to use a popover component. It works perfectly, the popover is shown and I can do something with it but I can only close it when I click outside and not from a button. Basically, I integrated two buttons in my popover. A cancel and okay buttons. I want to close my popover when I click okay or cancel but I couldn’t do that.
I noticed there are also other examples with ionic/angular but I have no idea about angular. In fact I started learning react this week so I’m a beginner.
Basically, what I want is a minimal example in ionic/react which shows how can this be done. I appreciate any help. Thanks in advance