Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70919

How to set Popover full screen

$
0
0

@ahmed1996 wrote:

Hi Everyone
Now when i'm using Popover the content not fit the screen

my code
this.pop = this.popoverCtrl.create(AutoCompleteSearchPage);

and autocomplete search page

<ion-header>

  <ion-toolbar color='primary'>
		<ion-buttons start>
			<button ion-button icon-only (click)='onCancel()'>
				<ion-icon name="close"></ion-icon>
			</button>
		</ion-buttons>
		<ion-searchbar (ionInput)="getItems($event)"></ion-searchbar>
		<ion-buttons end>
			<button ion-button icon-only (click)='onDismiss()'>
				<ion-icon name="add"></ion-icon>
			</button>
		</ion-buttons>
	</ion-toolbar>

</ion-header>


<ion-content padding>
  <ion-list>
    <ion-item *ngFor="let item of filterdItems">
      <button ion-item type="button">{{ item }}</button>
    </ion-item>
  </ion-list>
</ion-content>

how i can make this PopoverController fit content of full screen and send selected data back to primary page.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70919

Trending Articles



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