Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not process resize event if fotorama is hidden
Resize event recalcs image dimensions in wrong way (see example https://jsfiddle.net/doochik/1mdhtbav/). In this case we should stop processing resize event if fotorama is hidden. As a workaround for this bug we can use `position:abosulte;left:-9990px;top:-9999px` instead of `display: none` to hide fotorama.
- Loading branch information