NO BUG: Form Success Interactions Issue in iPhone Browsers

Browser: Chrome 134.0.6998.89
OS: Windows

Hi bricks team,

On my test website, I have a login and register form. The login form has two interactions: Form Success and Form Error. This form also has a redirect action.
On desktop and Android browsers, when the login is successful, the Form Success interaction popup is displayed as expected. But in iPhone browsers, the Form Success interaction popup is not displayed at all after a successful login. When I delete the redirect action, the problem is solved.

To test this, please first register here and login here. The login result will be different in Android and iPhone browsers.

Thank you

Hi @HOSEIN.

I’ve tried to replicate this issue on an Android phone and laptop (MacBook). As you already noticed, I couldn’t. After successfully submitting the form, the popup showed, and soon after, there was a redirect.

As I don’t have an iPhone, I’ve asked a colleague to test it, and he could not reproduce either (using iPhone XR, iOS 18.3.1 and Safari browser).
In his case, when he tried to log in, the popup opened, and then he was redirected.

Can you try on some other phone, maybe?

Best regards,
Matej

Hi @Matej,

Thank you very much for reviewing this report. And I apologize for the challenges it caused.

Strange🤔 My iOS version is 18.3.2 and I’m not sure if it’s related to the iOS version. I’ll look into this further and let you know.

Thanks again

Hi again @Matej,

I tried it on a few different iOS devices that day and it didn’t show up. I don’t know why but it works fine now and there are no issues🙂 So this is not a bug.

Thank you again for reviewing this report🙏

Thank you for your report, I’m happy to hear that it works now. Maybe it was a one-off error.

Best regards,
Matej

1 Like

Hi again @Matej,

It seems that iPhone browsers have a problem with the redirect action in the form element. In fact, when the form has a redirect, the animation does not run after a successful login.

Hi @HOSEIN,

just to confirm, by animation, you mean the “popup” that opens when successfully logged in?

Can you quickly show your interactions so that I can replicate this on my local device? You can also copy-paste the template if you want. :slight_smile:

Thank you so much,
Matej

1 Like

Hi Matej,

just to confirm, by animation, you mean the “popup” that opens when successfully logged in?

Yes, exactly.

Video

Popup template

Thank you

Hi @HOSEIN,

thank you so much. I was able to replicate the difference. On desktop, it shows the popup just before it redirects, but on mobile (iPhone), there is no popup.

Just for the reference, before I create a task, have you observed the same if you add interaction directly on the form? I tested locally, and it was the same for me, but I’m curious if you tested this as well.
If you didn’t, just let me know; no need to spend more time on that :wink:

Thank you,
Matej

1 Like

Thank you very much for taking the time to review this report Matej :pray:

Just for the reference, before I create a task, have you observed the same if you add interaction directly on the form?

Yes, I tried all the different scenarios before the report. Like you, if I applied the interaction to the form element as well, it still didn’t work.

Hi @HOSEIN,

I missed that this setting is empty when I first watched your video, and I also haven’t set it when I was testing. So… I saw the popup, when the page was a bit slower :smiley:

Can you set it to 2000 or something like this, and let me know if it works for you then? I’ve tested locally with timeout, and it works for me.

Thanks,
Matej

1 Like

Oh, yes you are right. I even set it to 500ms and now the popup is displayed. I didn’t think this option would help at all. Because it was not a problem in other browsers.

Thank you as always Matej

Perfect, I’m glad it’s solved :slight_smile: I’ll mark the topic as no-bug.

And yeah, it confused me as well… hehe :smiley:

Matej

1 Like