# Modal jumps to top on iPhone x - Ionic v4

**URL:** <https://forum.ionicframework.com/t/modal-jumps-to-top-on-iphone-x-ionic-v4/177012>\
**Category:** Ionic Framework\
**Created:** [November 6, 2019, 9:15am UTC](https://forum.ionicframework.com/t/modal-jumps-to-top-on-iphone-x-ionic-v4/177012 "2019-11-06T09:15:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatthiasE](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@MatthiasE](https://forum.ionicframework.com/u/MatthiasE)\
**Post date:** [November 6, 2019, 9:15am UTC](https://forum.ionicframework.com/t/modal-jumps-to-top-on-iphone-x-ionic-v4/177012/1 "2019-11-06T09:15:18Z")

</div>

Hi all,

I have problems with modals on iPhone X (Latest Ionic 4 release).  
When I open a modal, the modal jumps to top. Only if I change the orientation, the modal jumps back to the right place.  
See

 ![iPhoneXBug](https://global.discourse-cdn.com/ionicframework/original/3X/4/4/4436c7b23a2c816b10636dfc20c9c598b0d2a60f.gif)

---

<div class="post-metadata">

**Author:** ![MatthiasE](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@MatthiasE](https://forum.ionicframework.com/u/MatthiasE)\
**Post date:** [November 23, 2019, 10:19pm UTC](https://forum.ionicframework.com/t/modal-jumps-to-top-on-iphone-x-ionic-v4/177012/2 "2019-11-23T22:19:34Z")

</div>

Fixed it.  
The problem was autofocus on the input component.

Somehow ionic modals doesn´t like autofocus.
