# Focusing on input in modal on mobiles scrolls the page up and makes the modal invisible

**URL:** https://meta.discourse.org/t/focusing-on-input-in-modal-on-mobiles-scrolls-the-page-up-and-makes-the-modal-invisible/60699
**Category:** UX
**Created:** [10 Abril , 2017 03:57 UTC](https://meta.discourse.org/t/focusing-on-input-in-modal-on-mobiles-scrolls-the-page-up-and-makes-the-modal-invisible/60699 "2017-04-10T03:57:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [10 Abril , 2017 05:15 UTC](https://meta.discourse.org/t/focusing-on-input-in-modal-on-mobiles-scrolls-the-page-up-and-makes-the-modal-invisible/60699/2 "2017-04-10T05:15:31Z")

</div>

This is a duplicate of the iPad issue, replicable with search in a topic. You better be at the top of the topic, or you are hosed.

> [@Search bar disappears on iPad in long topics](https://meta.discourse.org/t/search-bar-disappears-on-ipad-in-long-topics/55583):
>
> Let me know if you can also reproduce this. So far I’ve tested on iPad Air 2, Safari and Chrome: Go to a topic long enough that you need to load a new batch of posts Scroll to the bottom of the topic Click the search button, then click the search field to invoke the virtual keyboard The keyboard should go off-screen Won’t work on mobile because we immediately go straight to full-screen search there.

---

_[View the full topic](https://meta.discourse.org/t/focusing-on-input-in-modal-on-mobiles-scrolls-the-page-up-and-makes-the-modal-invisible/60699)._
