Little Outliner - body text moves as 'breadcrumb' path wraps to extra lines
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- frontend
Hướng nghiên cứu
No file, test, or entry point is identified. Start by reproducing the attached GIF behavior in Little Outliner while navigating with the mouse, then trace the outline display library and browser wrapping behavior; done means the body text no longer jumps unpredictably as the breadcrumb path changes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When navigating an outline with the mouse, it can be hard to consistently target the correct level on the first click since the body text moves to accommodate the changing size of the 'breadcrumb' header.
See attached animated gif (mirror) for an example:

If you are several pages down in the outline, the cause is not even necessarily obvious to the user; they just notice that their text keeps jumping around while they navigate.
This is likely not specific to LO, but to the underlining outline display library (of which I can't remember the name at this moment)
I'm not sure what the best fix would be (and I have no idea how much information JS has about how the browser is wrapping lines of text).
Brainstorming:
- If the outline position changed due to the mouse and it is necessary to change the number of lines of the heading, delay updating the heading for some period of time (e.g. 0.5-3 seconds)
- Always reserve at least 2(?) lines of space for the heading as long as the window is at least a certain size
- Truncate to a single line
- Ngôn ngữ chính
- HTML
- Star
- 134
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của scripting/Scripting-News
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
scripting/Scripting-News#353 · 6 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
scripting/Scripting-News#332 · 25 bình luận · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
scripting/Scripting-News#361 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
scripting/Scripting-News#360 · 1 bình luận · 1 reaction ·
Tất cả issue của scripting/Scripting-News
Issue tương tự
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Automattic/safe-publish#594 ·
-
Flaky storybook test Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
hasadna/open-bus-map-search#1893 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Add canonical URLs and a sitemap Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
integra-team-red/meet-map#249 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
TanStack/tanstack.com#1293 ·