sveltekit-superforms icon indicating copy to clipboard operation
sveltekit-superforms copied to clipboard

taintedMessage not work on mobil

Open manicar2093 opened this issue 1 year ago • 3 comments

  • [X] 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 avatar Nov 23 '24 01:11 manicar2093

My guess is the reason being

konstantinblaesi avatar Nov 30 '24 02:11 konstantinblaesi

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! 😃

manicar2093 avatar Dec 03 '24 22:12 manicar2093

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

konstantinblaesi avatar Dec 03 '24 23:12 konstantinblaesi