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 Likes

Can you repro this on your iPhone @techapj?

1 Like

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

3 Likes

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 Likes

Many thanks @techAPJ

3 Likes

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