We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
道友,懂中文的是吧?不能为dropdownStyle指定高度,指定后报错,dropdownStyle dropdownStyle={StyleSheet.flatten([styles.dropdownStyle, {height:64}])} (197行)这一行代码写错了:
let dropdownHeight = (this.props.dropdownStyle && StyleSheet.flatten(this.props.dropdownStyle.height)) || StyleSheet.flatten(styles.dropdown).height; // 应该是: .height) => ).height let dropdownHeight = (this.props.dropdownStyle && StyleSheet.flatten(this.props.dropdownStyle).height) || StyleSheet.flatten(styles.dropdown).height;
The text was updated successfully, but these errors were encountered:
@cgwu Great job!
So.... 当然懂
Sorry, something went wrong.
@sohobloo 既然你懂中文,那我就问个问题吧,如何重置一个Dropdown,让它显示defaultValue??求指教
### v3.0.1
70d30ee
- Fix bug: [\#6](#6) Can not specify `height` style for `dropdownStyle`. - Remove `updatePosition` function.
@cgwu
Fixed in v0.3.1
Thanks again!
No branches or pull requests
道友,懂中文的是吧?不能为dropdownStyle指定高度,指定后报错,dropdownStyle
dropdownStyle={StyleSheet.flatten([styles.dropdownStyle, {height:64}])}
(197行)这一行代码写错了:
let dropdownHeight = (this.props.dropdownStyle && StyleSheet.flatten(this.props.dropdownStyle.height)) || StyleSheet.flatten(styles.dropdown).height; // 应该是: .height) => ).height let dropdownHeight = (this.props.dropdownStyle && StyleSheet.flatten(this.props.dropdownStyle).height) || StyleSheet.flatten(styles.dropdown).height;
The text was updated successfully, but these errors were encountered: