Skip to content

react native 0.37版本报错 #9

New issue

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

Closed
alukaka opened this issue Nov 22, 2016 · 5 comments
Closed

react native 0.37版本报错 #9

alukaka opened this issue Nov 22, 2016 · 5 comments
Labels
Milestone

Comments

@alukaka
Copy link

alukaka commented Nov 22, 2016

找不到updateposition这个方法,
0.3.1已经移出了这个方法 可是我的0.3.1还是提示这个方法没有
谢谢

@alukaka
Copy link
Author

alukaka commented Nov 22, 2016

建议使用0.3.0版本,0.3.1版本无法使用,各位道友请自行选择

@alukaka alukaka closed this as completed Nov 22, 2016
@sohobloo
Copy link
Owner

@alukaka

请问是您之前的代码里有手动调用updatePosition方法吗?如果有可以将调用去掉即可,0.3.0之后的版本不需要手动调用哦。

@alukaka
Copy link
Author

alukaka commented Nov 22, 2016

之前0.3.0版本的时候有写过这个方法,后来删除之后能使用,但是今早更新了react-native到0.37后,也顺便升级至0.3.1,但是报错,然后我又只能使用0.3.0版本

@sohobloo
Copy link
Owner

@alukaka
谢谢反馈,目前发现之前少删了一行代码,但是我这边没有报错。如果你没有定制dropdown高度的需求的话可以继续使用之前版本。抱歉哦。

@alukaka
Copy link
Author

alukaka commented Nov 22, 2016

哈哈 没事 还要感谢你呢 省去很多事 options 那里 点击准备选择时 好像会有一个空白的 比如我有4个选项 但是却好像出来了5个的位置 这里应该可以优化一下

@alukaka alukaka reopened this Nov 22, 2016
@sohobloo sohobloo added this to the v0.3.2 milestone Nov 22, 2016
@sohobloo sohobloo added the bug label Nov 22, 2016
sohobloo added a commit that referenced this issue Nov 22, 2016
- Fix bug:
[\#9](#9)
*undefined is not an object (evaluating '_this.updatePosition.bind')*
in v0.3.1.
- Fix bug: Wrong width of dropdown in very few cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants