From a361e556ef0cf221ac1e1ffe450bf546f7997ca9 Mon Sep 17 00:00:00 2001 From: Joe Boccanfuso <109477394+jbocce@users.noreply.github.com> Date: Mon, 9 Jun 2025 09:28:00 -0400 Subject: [PATCH] fix(touch): Prevent touch drag to refresh the browser page. (#5108) --- platform/app/src/App.css | 4 ++++ platform/app/src/App.tsx | 1 + 2 files changed, 5 insertions(+) create mode 100644 platform/app/src/App.css diff --git a/platform/app/src/App.css b/platform/app/src/App.css new file mode 100644 index 000000000..a8553262d --- /dev/null +++ b/platform/app/src/App.css @@ -0,0 +1,4 @@ +body { + overscroll-behavior: none; + touch-action: none; +} diff --git a/platform/app/src/App.tsx b/platform/app/src/App.tsx index 5e1be45fa..f87fd6a28 100644 --- a/platform/app/src/App.tsx +++ b/platform/app/src/App.tsx @@ -35,6 +35,7 @@ import createRoutes from './routes'; import appInit from './appInit.js'; import OpenIdConnectRoutes from './utils/OpenIdConnectRoutes'; import { ShepherdJourneyProvider } from 'react-shepherd'; +import './App.css'; let commandsManager: CommandsManager, extensionManager: ExtensionManager,