ElemeFE / ElemeFE/element-react

Dragging the Slider throws exception

Open
#738 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

### Description

When dragging the slider it throws an exception that toFixed is not a function of value.

### Reproduce Steps

https://codesandbox.io/s/5xw03oz52k
Drag the slider button.

### Error Trace (if possible)
TypeError: value.toFixed is not a function
Button.js:153
setPosition
Button.js:153
onDragging
Button.js:113
onDragging

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.