mpiv: [Galleries] `index` is not taken into account, and sometimes as you switch images, the current one is stretched/shrinked horizontally to the width of the next one
Summary:
I have noticed two issues with galleries:
- hovered thumbnail is ignored not used as index
- as your switch to the next image, the current one is stretched/shrinked horizontally to the width of the next one.
Steps to reproduce the bug
-
Install this rule: (ref)
{"d": "twilightsite.com", "e": "td > a:first-child", "s": "gallery", "g": { "image": "td > a:first-child", "index": "return node.href" } } -
Click “Disable cache” in devtools ‘Network’ in order to make it occur consistently.
-
Mouseover 2nd thumb: notice that the 1st image is displayed full-size instead
-
Now scroll until and then back and forth between 4th and 5th thumbs: notice that every time you switch images, the current full size is momentarily stretched horizontally to the width of the next/previous one
Screen capture:
Environment
- Browser: Chrome 127, Firefox 129
- Script manager: TM beta 5.3.6207, VM beta 2.20.2
- MPIV version: 1.4.1
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (9 by maintainers)
Commits related to this issue
- fix #122 v2: reuse popup only in fullscreen — committed to JenieX/mpiv by tophf 2 years ago
Try adding
#mpiv-popup.mpiv-show { background:none!important }to Custom CSS in options. And maybe#mpiv-popup.mpiv-show { box-shadow: none !important }You can enable
Wait for complete imagein MPIV options.Should be fixed now.