jerryc127 / hexo-theme-butterfly

🦋 A Hexo Theme: Butterfly
https://butterfly.js.org
Apache License 2.0
7.1k stars 1.28k forks source link

[Bug]: Gallery标签故障 #1521

Closed aornus closed 2 months ago

aornus commented 3 months ago

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.11 与 4.14.0-b3

是否修改过主题文件? || Has the theme files been modified?

不是 (No)

使用的瀏覽器? || What browse are you using?

Edge

使用的系統? || What operating system are you using?

Windows

依賴插件 | Package dependencies Information

hexo-site@0.0.0 C:\Users\agape\blog
├── @neilsustc/markdown-it-katex@1.0.0
├── bindings@1.5.0 extraneous
├── cheerio@1.0.0-rc.12
├── ejs@3.1.9
├── file-uri-to-path@1.0.0 extraneous
├── hexo-abbrlink@2.2.1
├── hexo-auto-category@0.2.2
├── hexo-blog-encrypt@3.1.9
├── hexo-butterfly-charts@1.1.6
├── hexo-butterfly-extjs@1.4.11
├── hexo-butterfly-tag-plugins-plus@1.0.17
├── hexo-calendar@1.0.8
├── hexo-deployer-git@3.0.0
├── hexo-filter-image@1.2.3
├── hexo-fs@4.1.1
├── hexo-generator-archive@1.0.0
├── hexo-generator-category@1.0.0
├── hexo-generator-feed@3.0.0
├── hexo-generator-indexed@1.2.1
├── hexo-generator-search@2.4.3
├── hexo-generator-seo-friendly-sitemap@0.2.1
├── hexo-generator-tag@1.0.0
├── hexo-helper-live2d@3.1.1
├── hexo-hide-posts@0.2.0
├── hexo-markmap@1.3.0-beta.1
├── hexo-pdf@1.1.1
├── hexo-renderer-ejs@2.0.0
├── hexo-renderer-markdown-it-plus@1.0.6
├── hexo-renderer-pug@3.0.0
├── hexo-renderer-stylus@2.1.0
├── hexo-ruby-marks@1.0.1
├── hexo-server@2.0.0
├── hexo-tag-aplayer@3.0.4
├── hexo-tag-dplayer@0.3.3
├── hexo-tag-echarts-new@1.0.1
├── hexo-tag-echarts3@1.1.2
├── hexo-theme-stellar@1.22.1
├── hexo-util@3.1.0
├── hexo-wordcount@6.0.1
├── hexo@5.4.2
├── live2d-widget-model-hibiki@1.0.5
├── live2d-widget-model-hijiki@1.0.5
├── live2d-widget-model-wanko@1.0.5
├── lodash@4.17.21
├── markdown-it-attrs@4.1.6
├── markdown-it-book-plugin@3.10.1
├── markdown-it-cjk-breaks@1.1.3
├── markdown-it-container@3.0.0
├── markdown-it-deflist@3.0.0
├── markdown-it-ruby-parser@0.1.1
├── markdown-it-task-lists@2.1.1
├── markmap-lib@0.15.7
├── nan@2.18.0 extraneous
├── pnpm@9.3.0
├── save@2.9.0
├── three@0.138.3
├── underscore@1.13.6
├── utils-merge@1.0.1
└── uuid@8.3.2

問題描述 | Describe the bug

我分别用2、3、4、5张图片测试,gallery标签中图片数量超过三张就会疯狂跳动。 jump

调整UA布局后有一定几率恢复,也有一定几率疯狂跳动: jump2

在主题站的Gallery示例中也能复现。

出現問題網站 | Website

https://blog.si-on.top/

jerryc127 commented 3 months ago

之前有人反饋過這個問題 但是我沒辦法復現 包括 https://blog.si-on.top/test/3 我訪問也是正常的

aornus commented 3 months ago

我又用不同的浏览器测试了下,用firefox(125.3)是正常的,但edge(125.0)下就会出现跳动。

jerryc127 commented 3 months ago

我的 126 沒有復現

Hoveco commented 3 months ago

那个问题我也碰到过,没有找到问题。我的照片集最开始照片都是60004000的分辨率照片,手机端没有出现问题,平板端大概率会出现问题。后来为了精简图片,分辨率改为30002000的后,最近没看到有类似问题。推测原因可能和不同图片分辨率,照片排序逻辑有关。比如:5张照片展示,排序是第一行2张,第二行3张; 但是不会排序成第一行2张,第二行2张,第三行1张,因为这样排序最后一行有空白了。

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.