Problem/Motivation

During our QA process of a web built with da_vinci theme, we noticed the menú and some javascript-dependent components we added were not working properly when you visualize the site using an iOs device but they looked pixel-perfect on the rest of the devices. Reviewing the code we noticed there is a missing parenthesis in the matchMedia function parameter.
And here is the thing, according to the documentation if there is a missing parenthesis on any device the browser auto-completes it, in all devices except for iOs.

Steps to reproduce

Install the theme, and visualize the site by using android and ios at the same time, you will notice the menu will have different aspects and behavior.

Proposed resolution

Add the missing parenthesis at main.js line 34

Remaining tasks

Review and approval.

Comments

ldcruz created an issue. See original summary.

  • nesta_ committed 455a142 on 9.1.x
    Issue #3320756 by ldcruz, elgarcia: iPhone issue
    

nesta_ credited elgarcia.

nesta_’s picture

Status: Active » Fixed
Issue tags: +responsive
nesta_’s picture

Status: Fixed » Closed (fixed)