You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The numbers are arranged in the correct order (from 1 to 5) after being rendered, but the order in which each is rendered, reported by gloo_console::debug!, are reversed (from 5 to 1).
I currently maintain a file managing application that display files in a grid.
When a directory contains images, their thumbnails will be rendered as img elements, but in the aforementioned order.
Because the browser sees the last element first, it also downloads and displays image data from last to first.
Over a weak internet connection, this becomes really noticeable, which is undesirable.
Steps To Reproduce
Run the following code (with trunk).
Problem
The numbers are arranged in the correct order (from 1 to 5) after being rendered, but the order in which each is rendered, reported by
gloo_console::debug!
, are reversed (from 5 to 1).I currently maintain a file managing application that display files in a grid.
When a directory contains images, their thumbnails will be rendered as
img
elements, but in the aforementioned order.Because the browser sees the last element first, it also downloads and displays image data from last to first.
Over a weak internet connection, this becomes really noticeable, which is undesirable.
Steps To Reproduce
Run the following code (with
trunk
).Expected behavior
I expect the debug messages to appear in the same order as the numbers.
Screenshots
Taken from the browser web console (
Ctrl+Shift+K
).Environment:
yew = { version = "0.21.0", features = ["csr"] }
cargo 1.81.0-nightly (a1f47ec3f 2024-06-15)
wasm32-unknown-unknown
trunk
Linux 6.9.4-hardened1-1-hardened
Firefox 126.0.1
Questionnaire
The text was updated successfully, but these errors were encountered: