mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 14:17:02 +00:00
Scrollyscrolly
This commit is contained in:
parent
4f040208c6
commit
0eef4d03ed
1 changed files with 4 additions and 1 deletions
|
@ -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| {
|
||||
|
|
Loading…
Reference in a new issue