Skip to content

Some ampConfig settings are ignored in Portrait view #19

@abalmush

Description

@abalmush

I'm trying to set the amount of images in nav using:
ampConfigs: { navElementsCount: { forDesktop: 4, forDesktopFull: 4 } }
It works pretty well in Full view and standard desktop, but doesn't work on Portrait. I still see more than 4 images. I found out that portrait is missed in:

Viewer.prototype.getAmpConfigs

Is there any ways I can configure this without changing the code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions