Scrollyscrolly

This commit is contained in:
Conrad Irwin 2023-11-29 15:30:50 -07:00
parent 4f040208c6
commit 0eef4d03ed

View file

@ -3211,12 +3211,15 @@ impl CollabPanel {
// }
impl Render for CollabPanel {
type Element = Focusable<Div>;
type Element = Focusable<Stateful<Div>>;
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
div()
.id("collab-panel")
.key_context("CollabPanel")
.track_focus(&self.focus_handle)
.size_full()
.overflow_scroll()
.on_action(cx.listener(Self::confirm))
.on_action(cx.listener(Self::insert_space))
.map(|el| {