MacOS/iOS Safari problem with double refreshing

2 replies · opened Nov 8, 2018

CchipeuropeNov 8, 2018

Hello, I have a huge problem with refreshing in canvas on Safari. Basically the problem occurs when I open car-listing and go to another page then returns. It refreshes the page two times and mostly breaks some elements like bs-switch.

CchipeuropeNov 8, 2018

The problem doesn't exist in Firefox or Chrome.

SSemicolon WebSTAFFNov 12, 2018

Hello,

Thanks for your Patience!

Please consider finding and deleting/commenting out the following code in the js/functions.js File:

window.onpageshow = function(event) {
	if(event.persisted) {
		window.location.reload();
	}
};

This should fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard