From 31949603ab56d400897c9d5fc26d2c42acb9093d Mon Sep 17 00:00:00 2001 From: zerescas Date: Thu, 13 Feb 2025 16:05:13 +0900 Subject: [PATCH] fix[slider]: prevent text selection while dragging handle --- components/slider/style/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/slider/style/index.tsx b/components/slider/style/index.tsx index c887422261..9a8af26c86 100644 --- a/components/slider/style/index.tsx +++ b/components/slider/style/index.tsx @@ -88,6 +88,7 @@ const genBaseStyle: GenerateStyle = token => { width: token.handleSize, height: token.handleSize, outline: 'none', + userSelect: 'none', [`${componentCls}-dragging`]: { zIndex: 1,