Skip to content

I can't disable full screen gallery on mobile on magento 2.2.1 #12490

Closed
@joebordo

Description

@joebordo

I applied the code below to disable full screen gallery in magento 2.2.1

`<var name="breakpoints">
        <var name="mobile">
            <var name="conditions">
                <var name="max-width">767px</var>
            </var>
            <var name="options">
               <var name="options">
                 <var name="allowfullscreen">false</var>
                 <var name="arrows">false</var> <!-- Turn on/off arrows on the sides preview (true/false) -->
                 <var name="nav">thumbs</var> 
                </var>
            </var>
        </var>
    </var>`

The code does not work. The full screen gallery is still not disabled on mobile. (under 767 px)

Preconditions

magento 2.2.1
php 7.1

Steps to reproduce

Add the code above, it should disable the full screen gallery under 767 px.
false (this code does nothing)

Expected result

It does nothing.

Actual result

Nothing happens, the gallery is still enabled in mobile (under 767 px)

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions