diff --git a/apps/client/src/widgets/mobile_widgets/TabSwitcher.css b/apps/client/src/widgets/mobile_widgets/TabSwitcher.css
index c281c04d9d..19360d8c15 100644
--- a/apps/client/src/widgets/mobile_widgets/TabSwitcher.css
+++ b/apps/client/src/widgets/mobile_widgets/TabSwitcher.css
@@ -32,6 +32,8 @@
height: 180px;
overflow: hidden;
font-size: 0.5em;
+ user-select: none;
+ pointer-events: none;
&.type-text {
padding: 10px;
diff --git a/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx b/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx
index edbe10bbec..cb7c79af1d 100644
--- a/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx
+++ b/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx
@@ -2,7 +2,7 @@ import "./TabSwitcher.css";
import clsx from "clsx";
import { createPortal } from "preact/compat";
-import { useEffect, useState } from "preact/hooks";
+import { useCallback, useState } from "preact/hooks";
import appContext from "../../components/app_context";
import NoteContext from "../../components/note_context";
@@ -31,6 +31,11 @@ function TabBarModal({ shown, setShown }: {
shown: boolean;
setShown: (newValue: boolean) => void;
}) {
+ const selectTab = useCallback((noteContextToActivate: NoteContext) => {
+ appContext.tabManager.activateNoteContext(noteContextToActivate.ntxId);
+ setShown(false);
+ }, [ setShown ]);
+
return (