viewer-kit icon indicating copy to clipboard operation
viewer-kit copied to clipboard

Some ampConfig settings are ignored in Portrait view

Open abalmush opened this issue 4 years ago • 0 comments

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?

abalmush avatar Apr 27 '21 10:04 abalmush