Skip to content

Conversation

@oneJ1
Copy link
Contributor

@oneJ1 oneJ1 commented Nov 8, 2025

What

This was one of the following bugs from the list of Safari-only bugs:

On the Feedback page, selecting "(Optional) I consent to the IMAGE project saving this request and the responses associated with it under the conditions described above" may cause the "open form" button to not work as intended. (I got your data has been recorded successfully instead).

I noticed that this was actually iOS only, so I had to find a solution.

Why was this happening

This was happening due to iOS devices not allowing open links on non-user registered actions.

https://stackoverflow.com/questions/67836871/why-open-link-is-not-working-inside-a-async-handler-on-ipad-safari

Weirdly, the "Close" action on the alert was not enough to be considered a user registered action. I believe this was lenient for Safari though which is why it worked.

How I fixed it

I fixed it by changing the logic from opening a new link to changing the existing one since iOS allows redirecting the user to a new site. This does obviously change the inherent logic from opening a new tab to redirection, but I hope that this solution is worthy enough to make the switch over.

Demo

Chrome

Before

Chrome-before.mov

After

Chrome-after.mov

Safari

Before

Safari-before.mov

After

Safari-after.mov

iOS

Before

iOS-before.1.mp4

After

iOS-after.mp4

@oneJ1 oneJ1 changed the title Jaewon ios feedback fix iOS feedback form functionality fix Nov 8, 2025
@jaydeepsingh25 jaydeepsingh25 merged commit f319b0a into main Nov 12, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants