# Visualviewport api below iOS 13

**URL:** <https://meta.discourse.org/t/visualviewport-api-below-ios-13/169448>\
**Category:** UX\
**Created:** [November 6, 2020, 3:40pm UTC](https://meta.discourse.org/t/visualviewport-api-below-ios-13/169448 "2020-11-06T15:40:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [November 9, 2020, 3:27pm UTC](https://meta.discourse.org/t/visualviewport-api-below-ios-13/169448/5 "2020-11-09T15:27:46Z")

</div>

> [@woutervermeersch](#):
>
> Could somebody point me in the right direction in order to achieve the same result? Would highly appreciate it 😃

The relevant code for both solutions is here: [https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/lib/safari-hacks.js](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/lib/safari-hacks.js)

As noted in that file though, we will soon remove the the iOS 12 hacks. iOS 14 came out this year, and only ~5% of devices are still on iOS 12.

---

_[View the full topic](https://meta.discourse.org/t/visualviewport-api-below-ios-13/169448)._
