Skip to content

Fix "iOS mobile safari: scrolls to unexpect post when keyboard opened"

Tomas Vik requested to merge 2290-fix-ios-scroll into develop

Closes #2290 (closed)

Remove overflow workaround that was causing iOS 13 Safari to scroll to top

I connected my desktop safari to the simulator. As far as I can tell, the removed workaround in combination with opening keyboard caused scrolling top to 0.

This fixes the issue in iOS simulator but I'll use Browserstack to test on more devices before confidently releasing this bugfix.

Fixed scrolling screencast

before after
Kapture_2019-09-25_at_9.44.21 Kapture_2019-09-25_at_9.41.25

Testing through BrowserStack

  1. Google Pixel 2 Chrome (Android 9)
  2. Google Pixel 2 Firefox (Android 9)
  3. Samsung Galaxy S10 (Android 9) Chrome
  4. Samsung Galaxy S7 (Android 6) Chrome
  5. Motorola Moto X 2nd Gen (Android 5) Chrome

iOS simulator

  1. iOS 13 iPhone 11 Pro Max - Safari
  2. iOS 11 iPhone 8 - Safari
  3. iOS 10 iPhone 6 - Safari
Edited by Tomas Vik

Merge request reports