Safari in iOS 9.1 hangs after logging in

Hi there,

I’ve noticed this behaviour in the Safari browser in iOS 9.1 on an iPhone 6:

  • User clicks on login and fills out modal login box.
  • After submitting log in credentials - Safari attempts to log in but modal sticks on screen and browser hangs indefinitely.
  • Only manually refreshing the page lets user proceed.
  • User is looged in when browser is refreshed.

This has been tested on several different Discourse installations - occurs with each.

Other mobile browsers such as Chrome do not have the issue and work as normal. Desktop Safari is not effected also.

3개의 좋아요

Can you repro this on your iPhone @techapj?

1개의 좋아요

Yes, I can repro this issue on my iPhone. Added on my list.

3개의 좋아요

Fixed via:

https://github.com/discourse/discourse/commit/3053d48671f91d6dfcf5e8f26ad1c06476c6683c


The issue was: In case of Safari (on iOS) the hidden login form was not getting submitted, hence causing the page to freeze.

I realized that we do not need to submit hidden login form (in case of Safari on iOS) because the browser password manager is already getting triggered as soon as user successfully logs in.

7개의 좋아요

Many thanks @techAPJ

3개의 좋아요

This topic was automatically closed after 2 days. New replies are no longer allowed.