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

Fix disappearing navigation arrows in fotorama zoom #18590

Merged
merged 2 commits into from
Oct 31, 2018

Conversation

luukschakenraad
Copy link
Contributor

Description (*)

Fix for dissapearing navigation arrows in Fotorama zoom

Fixed Issues (if relevant)

#18585: Navigation arrows zoomed fotorama disappear

Manual testing scenarios (*)

  1. Go to category Women -> Tops -> Jackets
  2. Open product "Olivia 1/4 Zip Light Jacket"
  3. Click on the large product image on the left
  4. Check that navigation arrows are visible
  5. Click on a thumbnail
  6. Check that navigation arrows keep visible

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Oct 13, 2018

CLA assistant check
All committers have signed the CLA.

@magento-engcom-team
Copy link
Contributor

Hi @luukschakenraad. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me $VERSION instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

@hostep
Copy link
Contributor

hostep commented Oct 13, 2018

I might be wrong about this, but it could be that this is trying to fix the same issue as #18440 is trying to fix (but that one is for a lot more options of fotorama)

@luukschakenraad
Copy link
Contributor Author

I might be wrong about this, but it could be that this is trying to fix the same issue as #18443 is trying to fix (but that one is for a lot more options of fotorama)

That one seems to be unrelated to this issue. This one has nothing to do with any settings. It's just a bug in Fotorama which causes wrong behaviour of the previous and next buttons.

@magento-engcom-team
Copy link
Contributor

Hi @sidolov, thank you for the review.
ENGCOM-3198 has been created to process this Pull Request

@sidolov
Copy link
Contributor

sidolov commented Oct 23, 2018

Hi @luukschakenraad , we cannot reproduce this issue on the vanilla 2.3-develop instance.
We can confirm that issue was reproduced on the 2.2-develop branch and we merged corresponded PR: #18595
Maybe you have additional steps for reproducing on the 2.3-develop?
Thank you!

@luukschakenraad
Copy link
Contributor Author

@sidolov I think you cannot reproduce it because of this commit: 163d4cc#diff-49a84585354f5715382cc2b014a3d961

That one changes the value of "arrows" from "1" to "true" which is another way to solve this issue.

Even with that fix already applied, I think it's a good idea to implement this fix, as it is also in Fotorama's source-code: https://github.com/artpolikarpov/fotorama/blob/master/src/js/fotorama.js#L273

Secondly, these two fixes won't conflict and this one solves overridden templates as well.

@magento-engcom-team
Copy link
Contributor

Hi @luukschakenraad. Thank you for your contribution.
We will aim to release these changes as part of 2.3.1.
Please check the release notes for final confirmation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants