alibaba-fusion / next

🦍 A configurable component library for web built on React.
https://fusion.design
MIT License
4.59k stars 591 forks source link

[NumberPicker]NumberPicker一直输入会出现指数和Infinity #2529

Closed sxei closed 3 years ago

sxei commented 3 years ago

Component

NumberPicker

Steps to reproduce

输入10000...一直输入0,会先变成1e 21,继续输然后又变成Infinity

import { NumberPicker } from '@alife/next';

ReactDOM.render(
    <div>
        <NumberPicker/>

    </div>,
    mountNode
);
galogm commented 3 years ago

使用的next版本是哪一个?新版本的已经修复了,例如1.21.13的demo:https://riddle.alibaba-inc.com/riddles/dd2908f8

galogm commented 3 years ago

fixed in #2244