UI / vertical scrolling is broken in `scroll` example
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Start by running the scroll example and compare its layout before and after the Taffy update referenced in the issue. The report points to UI node dimensions and alignment behavior, but does not identify a file or test; trace the example and the Taffy alignment changes to locate the regression. Done means the lists remain in frame and vertical scrolling behaves correctly with the reported item counts.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bevy version and features
- 0.20-dev (since commit https://github.com/bevyengine/bevy/commit/e3d48d622b5df41f1113ebc2c91ddc229606caee, updating Taffy 0.10 to 0.13)
What you did
Run the scroll example to test vertical scrolling
What went wrong
There are "two" main issues that show up in this example:
- The UI layout is not correct: Some lists like the bidirectional scrolling lists and the nested scrolling list are not visible, rendering out of frame (See additional information below).
- Vertical scrolling is not working correctly: Because of how messed up the UI is, it makes vertical scrolling seem like it is bugged or not working at all, if I increase the amount of items (changing the "spawn range" from
0..25to0..100) then it works fine, maybe the container is showing the 25 items it has, but this is hard to tell as half of the list is out of frame and previously the container only showed 15 items at once.
Additional information
I am not sure if scroll is only the example that has this problem, but it SEEMS the issue has something to do with the dimensions of the nodes because of how the vertical scrolling list seems to have enough height (with height: percent(50)) to show all the its items, and how the other lists are rendering out of frame despite the only thing dictating their spacing is justify_content: JustifyContent::SpaceBetween in the parent container with a width and height of percent(100).
The commit updating Taffy is small and doesn't touch the scroll example or any UI logic except updating Taffy's alignment style types that changed from being enums to structs in v0.11.0.
Before e3d48d6:
After e3d48d6:
EDIT: Wording
- Lingua principale
- Rust
- Stelle
- 49.7k
- Fork
- 5k
- Merge medio
- 3g 19h
- PR unite (30g)
- 134
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
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 bevyengine/bevy
-
C-Bug S-Needs-Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
bevyengine/bevy#26536 ·
I maintainer di solito rispondono entro 2 giorni
-
Placeholder has no defaultForse già presa Una pull request collegata a questa issue è aperta o già unita. ApertaC-Feature S-Needs-Triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
bevyengine/bevy#26532 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
C-Feature S-Needs-Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
bevyengine/bevy#26500 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
C-Feature S-Needs-Triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
bevyengine/bevy#26499 ·
I maintainer di solito rispondono entro 2 giorni
-
`compute_histogram` in auto exposure writes past the end of the 64-bin histogramForse già presa @dev-matru l’ha presa 3 giorni fa. ApertaA-Rendering C-Bug D-Straightforward S-Ready-For-Implementation X-Uncontroversial
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
bevyengine/bevy#26479 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di bevyengine/bevy
Issue simili
-
bug UI
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
wardian-app/Wardian#1746 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
jlcodes99/cockpit-tools#3125 ·
I maintainer di solito rispondono entro 2 giorni
-
bug user-sprint
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Vondor/KassenSturz#967 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
area:build bug effort:low P5 source:agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno