Little Outliner - body text moves as 'breadcrumb' path wraps to extra lines
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- HTML
- Stelle
- 134
- Fork
- 10
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di scripting/Scripting-News
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
scripting/Scripting-News#353 · 6 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
scripting/Scripting-News#332 · 25 commenti · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
scripting/Scripting-News#361 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
scripting/Scripting-News#360 · 1 commento · 1 reazione ·
Tutte le issue di scripting/Scripting-News
Issue simili
-
Browser (wasm) relay client cannot connect to relays whose URL has a trailing-dot FQDN hostname Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
n0-computer/iroh#4550 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nightscout/nocturne#1425 ·
-
ui/ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Theme loads third-party resources on every page (jsdelivr web font, cdnjs Font Awesome) – GDPR Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
docToolchain/docToolchain#1705 ·