# How to set Popover full screen

**URL:** <https://forum.ionicframework.com/t/how-to-set-popover-full-screen/97146>\
**Category:** ionic-v3\
**Created:** [July 6, 2017, 10:07am UTC](https://forum.ionicframework.com/t/how-to-set-popover-full-screen/97146 "2017-07-06T10:07:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmed1996](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ahmed1996/32/111185_2.png) [@ahmed1996](https://forum.ionicframework.com/u/ahmed1996)\
**Post date:** [July 6, 2017, 10:07am UTC](https://forum.ionicframework.com/t/how-to-set-popover-full-screen/97146/1 "2017-07-06T10:07:28Z")

</div>

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

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/7/1/71244742f728a174c25f18cf20d08e1fb6dcdb54.PNG)

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

and autocomplete search page

```auto
<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.

---

<div class="post-metadata">

**Author:** ![tobika](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tobika/32/75772_2.png) [@tobika](https://forum.ionicframework.com/u/tobika)\
**Post date:** [July 6, 2017, 10:19am UTC](https://forum.ionicframework.com/t/how-to-set-popover-full-screen/97146/2 "2017-07-06T10:19:12Z")

</div>

Hello,  
if i understand your example correct you might want to use a modal?

> **[Ionic Framework](https://ionicframework.com/docs/api/components/modal/ModalController/)**
>
> Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards

It is described how to receive data back, with `onDidDismiss` usually, same works for the PopOver.

---

<div class="post-metadata">

**Author:** ![ahmed1996](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ahmed1996/32/111185_2.png) [@ahmed1996](https://forum.ionicframework.com/u/ahmed1996)\
**Post date:** [July 6, 2017, 10:34am UTC](https://forum.ionicframework.com/t/how-to-set-popover-full-screen/97146/3 "2017-07-06T10:34:20Z")

</div>

You’re totally right !, Thank you.
