From 28b7891d7f1b6f54dff0bdfc1c8af5f200faa849 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Wed, 2 Oct 2024 11:22:15 +0800 Subject: [PATCH] update comment --- src/components/SelectionList/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SelectionList/index.tsx b/src/components/SelectionList/index.tsx index 18f2a2b188e1..fc788a7e2b4b 100644 --- a/src/components/SelectionList/index.tsx +++ b/src/components/SelectionList/index.tsx @@ -43,7 +43,8 @@ function SelectionList({onScroll, ...props}: BaseSelecti {...props} ref={ref} onScroll={onScroll ?? defaultOnScroll} - // Ignore the focus if it's caused by a touch event on a mobile chrome + // Ignore the focus if it's caused by a touch event on mobile chrome. + // For example, a long press will trigger a focus event on mobile chrome. shouldIgnoreFocus={Browser.isMobileChrome() && isScreenTouched} /> );