fix(call): the list of hidden people scrolls
- list wrapped like the chat members popup, rows keep their height Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@@ -288,9 +288,8 @@ fn overflow_tile(
288
288
)
289
289
.content(move |_, _, cx| {
290
290
let popover = cx.entity().downgrade();
291
v_flex()
291
let list = v_flex()
292
292
.id("call-hidden-list")
293
.w(px(HIDDEN_LIST_WIDTH))
294
293
.max_h(px(HIDDEN_LIST_HEIGHT))
295
294
.overflow_y_scrollbar()
296
295
.gap(px(2.))
@@ -300,6 +299,7 @@ fn overflow_tile(
300
299
let pinned_mri = mri.clone();
301
300
h_flex()
302
301
.id(SharedString::from(format!("call-hidden-{mri}")))
302
.flex_none()
303
303
.w_full()
304
304
.px(px(8.))
305
305
.py(px(6.))
@@ -322,7 +322,8 @@ fn overflow_tile(
322
322
.update(cx, |state, cx| state.dismiss(window, cx))
323
323
.ok();
324
324
})
325
}))
325
}));
326
v_flex().w(px(HIDDEN_LIST_WIDTH)).child(list)
326
327
})
327
328
.into_any_element()
328
329
}
@@ -288,9 +288,8 @@ fn overflow_tile(288
)288
)289
.content(move |_, _, cx| {289
.content(move |_, _, cx| {290
let popover = cx.entity().downgrade();290
let popover = cx.entity().downgrade();291
v_flex()291
let list = v_flex()292
.id("call-hidden-list")292
.id("call-hidden-list")293
.w(px(HIDDEN_LIST_WIDTH))294
.max_h(px(HIDDEN_LIST_HEIGHT))293
.max_h(px(HIDDEN_LIST_HEIGHT))295
.overflow_y_scrollbar()294
.overflow_y_scrollbar()296
.gap(px(2.))295
.gap(px(2.))@@ -300,6 +299,7 @@ fn overflow_tile(300
let pinned_mri = mri.clone();299
let pinned_mri = mri.clone();301
h_flex()300
h_flex()302
.id(SharedString::from(format!("call-hidden-{mri}")))301
.id(SharedString::from(format!("call-hidden-{mri}")))302
.flex_none()303
.w_full()303
.w_full()304
.px(px(8.))304
.px(px(8.))305
.py(px(6.))305
.py(px(6.))@@ -322,7 +322,8 @@ fn overflow_tile(322
.update(cx, |state, cx| state.dismiss(window, cx))322
.update(cx, |state, cx| state.dismiss(window, cx))323
.ok();323
.ok();324
})324
})325
}))325
}));326
v_flex().w(px(HIDDEN_LIST_WIDTH)).child(list)326
})327
})327
.into_any_element()328
.into_any_element()328
}329
}