Browse Source

fix: 修复 #40288 带来的 draggable track 失效 (#40938)

pull/40947/head
Long Hao (龙濠) 2 years ago
committed by GitHub
parent
commit
8a25a926c4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/slider/style/index.tsx

2
components/slider/style/index.tsx

@ -170,6 +170,7 @@ const genBaseStyle: GenerateStyle<SliderToken> = (token) => {
[`${componentCls}-step`]: {
position: 'absolute',
background: 'transparent',
pointerEvents: 'none',
},
[`${componentCls}-dot`]: {
@ -181,6 +182,7 @@ const genBaseStyle: GenerateStyle<SliderToken> = (token) => {
borderRadius: '50%',
cursor: 'pointer',
transition: `border-color ${token.motionDurationSlow}`,
pointerEvents: 'auto',
'&-active': {
borderColor: token.colorPrimaryBorder,

Loading…
Cancel
Save