m-picker
m-picker copied to clipboard
React Mobile Picker(web & react-native)
Bumps [react-native](https://github.com/facebook/react-native) from 0.59.10 to 0.63.4. Release notes Sourced from react-native's releases. v0.63.4 This release fixes a series of issues reported by the community over the last few months: you...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.14.0 to 17.0.0. Release notes Sourced from react's releases. 17.0.0 (October 20, 2020) Today, we are releasing React 17! Learn more about React 17 and how to...
语言版本是默认英文吗?没有修改语言的方法吗?
The wheel effect is now showing in react native any idea or help please 
fix: https://github.com/ant-design/ant-design-mobile/issues/3518
https://github.com/react-component/m-picker/blob/ddc4237928b6097ca79c50ac87da3753258d6f06/src/Popup.tsx#L7-L9 这有个bug,直接用props的visible参数返回null,会让dom节点直接消失。导致消失动画无效(因为节点直接消失了,动画还没来得及执行)。antd-mobile用了这个库,也有这个问题
复现代码 ``` function App() { const [value, setValue] = useState([]); const onChange = value => { console.log(value); setValue(value); }; return ( one ); } ``` 期待效果 初始化时触发onValueChange事件
```tsx {/* if component props will be changed like below. */} {items} {/* vvvvvvvvvv */} {items} ``` The condition for updating `this.state.selectedValue` is currently `'selectedValue' in nextProps`. This causes `select`...
ref https://github.com/ant-design/ant-design-mobile/issues/1841 ### What problem does this feature solve? The user can change the value of the Picker/ PickerView/ DatePicker by clicking the value and scroll to that value besides...
期望效果是,不仅能支持滑动选择,还能支持点击选择,不然每次都要滑动,太麻烦了