hectorqin / hectorqin/reader

[Web] 3.2.14 版本中 “关闭书架虚拟列表优化” 也无法将单列目录还原,且关闭后当书架书籍数量不足时,会拉伸书籍div高度来自适应书架高度,造成界面排版异常

Open
#676 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
11k
Forks
5.5k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug 描述你遇到的问题
1、更新 3.2.14 版本 reader-pro-3.2.14.jar 并重新启动后,默认启用了 书架虚拟列表优化 ,界面显示单列但无异常;
2、在左侧 书架设置 --> 列表优化 中选择 不启用优化 后保存,因为曾经为之前的版本为书籍的 info div 块添加了 height: auto;min-height: 112px;,因此发现在更新错误分组中书籍高度显示异常,经检查发现即使去掉了添加的 css 样式,凡是分组中书籍数量过少的界面,书籍的 div 块高度都会默认拉伸铺满分组书架界面;
3、即使在 “关闭书架虚拟列表优化” 后,进入书籍,目录列表显示也是单列,没有找到可以调整的设置,无法调整。试过重置后重新查看、备份后重新查看均无效。

Expected behavior 期待修复的效果
希望书籍目录列表可以正常切换单列和多列;书籍少的分组界面显示优化。

Screenshots 如有必要,可以截图说明
1、启用虚拟列表优化 时界面显示
Image
2、不启用优化 时书架分组界面显示
【添加 css 样式】
Image
【去除 css 样式】
Image
3、不启用优化 时书籍列表界面显示
Image

版本说明

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the linked reader-pro-3.2.14.jar on Windows 11 in Edge. Check the bookshelf settings at 书架设置 → 列表优化, then open a book and compare single- and multi-column目录 behavior and short bookshelf groups; done means both layout modes switch normally and sparse groups no longer stretch book divs.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.