Skip to content

Conversation

@TTalex
Copy link

@TTalex TTalex commented Apr 2, 2023

Browsing on the https://www.multi.coop website seems to duplicate every page in browser history. This breaks the intuitive nature of the browser's back button, where users have to press multiple times to go back one page.

For example, loading the website and clicking once on the "Notre offre de service" button creates the following history:
oneclic

Looking at the network queries, it looks like remote markdown content is also requested twice on page load.
oneclic

This PR fixes the duplicates in history by removing an obsolete (?) updateUrl call when mouting.

I'm not too familiar with the tech stack, but it looks like the site behaves the same without this line.

However, this PR doesn't fix the multiple calls to remote markdown content. So this might be a band-aid on a deeper issue ?

@netlify
Copy link

netlify bot commented Apr 2, 2023

👷 Deploy request for multi-website pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6b46dd5

@netlify
Copy link

netlify bot commented Apr 2, 2023

👷 Deploy request for multi-site-preprod-core-texts pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6b46dd5

@netlify
Copy link

netlify bot commented Apr 2, 2023

👷 Deploy request for multi-site-app-test pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6b46dd5

@netlify
Copy link

netlify bot commented Apr 2, 2023

👷 Deploy request for multi-site-preprod pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6b46dd5

@netlify
Copy link

netlify bot commented Apr 2, 2023

👷 Deploy request for datami-documentation pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6b46dd5

@netlify
Copy link

netlify bot commented Apr 2, 2023

👷 Deploy request for datami pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6b46dd5

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.

1 participant