Composer: Attempt to fix unexpected notch when adding new line

This commit is contained in:
Alexander Zinchuk 2023-06-14 13:34:56 +02:00
parent 71e654181e
commit 5f916bda3d

View File

@ -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(