diff --git a/src/js/components/Stream.tsx b/src/js/components/Stream.tsx index 4fef28c..4b5a31a 100644 --- a/src/js/components/Stream.tsx +++ b/src/js/components/Stream.tsx @@ -14,6 +14,14 @@ interface Props { t: TFunction; } +/* + Provides a number that increments the value of the 'top' + parameter given to scrollBy() during auto-scroll. This + variable came from the scroll height provided by iOS being + less than expected. +*/ +const OFFSET = 100; + export function Stream({ recitation, surah,