From 5f916bda3d07689a52d718fd7e1a5174591ba645 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Wed, 14 Jun 2023 13:34:56 +0200 Subject: [PATCH] Composer: Attempt to fix unexpected notch when adding new line --- src/components/middle/hooks/useScrollHooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/middle/hooks/useScrollHooks.ts b/src/components/middle/hooks/useScrollHooks.ts index a9bc50f25..17f135911 100644 --- a/src/components/middle/hooks/useScrollHooks.ts +++ b/src/components/middle/hooks/useScrollHooks.ts @@ -20,7 +20,7 @@ import { useDebouncedSignal } from '../../../hooks/useAsyncResolvers'; const FAB_THRESHOLD = 50; const NOTCH_THRESHOLD = 1; // Notch has zero height so we at least need a 1px margin to intersect -const CONTAINER_HEIGHT_DEBOUNCE = 100; +const CONTAINER_HEIGHT_DEBOUNCE = 200; const TOOLS_FREEZE_TIMEOUT = 350; // Approximate message sending animation duration export default function useScrollHooks(