- 相关代码:可复现该问题的代码内容
<RayCircleProgress
value={temperature}
ringRadius={135}
innerRingRadius={111}
colorList={[
{ offset: 0, color: '#295bdd' },
{ offset: 0.5, color: '#6A53D1' },
{ offset: 1, color: '#f65028' },
]}
startDegree={135}
offsetDegree={270}
touchCircleStrokeStyle="rgba(0, 0, 0, 0.4)"
thumbBorderWidth={4}
onTouchMove={handleMove}
onTouchEnd={handleEnd}
/>
Code: Select all
- 问题描述(复现步骤):ray面板小程序使用CircleProgress组件,在滑动中,会大概率卡在起始角度和终止角度附近的角度。
- 预期结果:希望使用CircleProgress组件时的滑动能够丝滑,能从0滑动到100,而不是卡在0和100附近的位置,卡在那
。希望可以马上优化一下这个bug。
- 实际结果:实际滑动不丝滑,会卡在最后一点角度。体验不佳。附件中图片就是卡住的时候的表现