diff --git a/crates/story/examples/button.rs b/crates/story/examples/button.rs index 8d8b1fe6..ebf311a0 100644 --- a/crates/story/examples/button.rs +++ b/crates/story/examples/button.rs @@ -19,7 +19,12 @@ impl Example { impl Render for Example { fn render(&mut self, _window: &mut Window, _cx: &mut Context) -> impl IntoElement { - div().p_4().size_full().child(self.root.clone()) + div() + .p_4() + .id("button_example") + .overflow_y_scroll() + .size_full() + .child(self.root.clone()) } }