fix: change z-index of element for compatibility with iOS 18 #2765
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changed z-index to unset to avoid overlapping of blocks on mobile displays in iOS 18
1. Why is this change necessary?
Compatibility with iOS 18. Without the change overlapping of blocks can occur on Safari, so the cart button is not clickable anymore.
2. What does this change do, exactly?
The z-index of the div with class "product--image-container" is before set to 1000. This change unsets the z-index.
3. Describe each step to reproduce the issue or behaviour.
Occurs after the update to iOS 18 on Safari and Chrome (and maybe more browsers). The image container overlaps the cart button.
4. Please link to the relevant issues (if any).
https://forum.shopware.com/t/ios-safari-oder-chrome-detailseite-buttons-ohne-funktion/105237/
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist