Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taintedMessage not work on mobil #515

Open
1 task done
manicar2093 opened this issue Nov 23, 2024 · 3 comments
Open
1 task done

taintedMessage not work on mobil #515

manicar2093 opened this issue Nov 23, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@manicar2093
Copy link

manicar2093 commented Nov 23, 2024

  • Before posting an issue, read the FAQ and search the previous issues.

Description
I have a problem with this superForm function option. It is set as true and works fine on Desktop, but in mobil devices (I have tried on Safari), is not working at all 😕

const form = superForm(data, {
		validators: zodClient(schema),
		taintedMessage: true
	});

Does any one know why this is happening?

@manicar2093 manicar2093 added the bug Something isn't working label Nov 23, 2024
@konstantinblaesi
Copy link

konstantinblaesi commented Nov 30, 2024

My guess is the reason being

@manicar2093
Copy link
Author

My guess is the reason being

Wow! That makes sense to me! I’ll try on chrome browser to see if it works!

Thank you! 😃

@konstantinblaesi
Copy link

konstantinblaesi commented Dec 3, 2024

I guess I misread, it looks like very old versions did not have it , I hope it is supported according to this https://caniuse.com/mdn-api_window_beforeunload_event
But anyways I would test it on a real device using safari, maybe there are other reasons why it might not fire that event
Or the issue lies elsewhere..

I would try to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants