We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da4f8b commit ba970bdCopy full SHA for ba970bd
src/dashboard/index.rs
@@ -26,7 +26,10 @@ pub fn Dashboard() -> impl IntoView {
26
<span>{format!("Tab {}", index + 1)}</span>
27
<button
28
class="rounded-full p-1 hover:bg-gray-100"
29
- on:click=move |_| { tabs_store.close_tab(index) }
+ on:click=move |e| {
30
+ e.stop_propagation();
31
+ tabs_store.close_tab(index)
32
+ }
33
>
34
35
<Icon icon=icondata::CgClose width="16" height="16"/>
0 commit comments