Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229930

Ionic 6 Popover Tab Problem

$
0
0

These are both by design.

  1. ion-popover is a global component, meaning it is placed as a descendant of ion-app, not as a descendant of the current view. You need to add a class to the popover if you want to target that specific instance. I recommend reading the Customizing Popovers documentation.

  2. The popoverController makes no assumptions about how many instances of the popover you can have open at once. This detail is up to the developer to define. So clicking a button that calls popoverController.create 2 times will create 2 popovers. If you want to only open 1 popover at a time, we recommend adding logic to your presentation function that checks for an existing popover before presenting.


Viewing all articles
Browse latest Browse all 229930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>