T11b loading: progress bars and rings that glide, loading overlay, lazy load, suspense and async view, refresh and typing indicators, upload list; draw-time notifies ask for a frame

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 17:27:21 -04:00
1 parent d4066661d5
commit ce31c7fb06
38 files changed
+1646 -91

No files matched your search

+2 -1
View File
@@ -223,11 +223,12 @@ impl RenderOnce for Lightbox {
.child(picture)
.child(
canvas(
move |bounds, _, cx| {
move |bounds, window, cx| {
if area.read(cx) != &bounds.size {
area.update(cx, |area, cx| {
*area = bounds.size;
cx.notify();
window.request_animation_frame();
});
}
},