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

Browser Back Button #287

Open
view6com opened this issue Dec 2, 2020 · 0 comments
Open

Browser Back Button #287

view6com opened this issue Dec 2, 2020 · 0 comments

Comments

@view6com
Copy link

view6com commented Dec 2, 2020

  • FACT-Finder-Web-Components Magento2-Module version:

-"ometria/magento2": "^2.0",
-"omikron/magento2-factfinder": "^1.6",
-"omikron/magento2-factfinder-ng": "^1.1",

  • Magento edition and version: 2.4.0-p1
  • PHP version: 7.3

Expected behaviour
Click on a product from a FACT Finder Category or Search results page, when the product is loaded, click the browser Back button to return to product on the previous page (return to the product and its position on the page).

Actual behaviour
The browser back button is not work as expected. We have ensured that the 'data-redirect' attribute is in place. When we click on a product on the first page of the search results, then click the browser back button, we are not returned to the same location in the search results.

When we go to a second or third in the search results, click on a product some way down in the results, then when the product has loaded, click the browser back button, we are returned to the bottom of the search results page - not the product we clicked on.

Steps to reproduce
Go to any page in your Magento store category or search results page.
Click on a product on the page or search results
Once the product page has loaded, click the Browser Back button.
You are returned to the previous page, but not the product on the page that was clicked.

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

No branches or pull requests

1 participant