Skip to content
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

dropDownHeight 可以改成不设置吗? #44

Open
paintingStyle opened this issue Apr 27, 2021 · 6 comments
Open

dropDownHeight 可以改成不设置吗? #44

paintingStyle opened this issue Apr 27, 2021 · 6 comments

Comments

@paintingStyle
Copy link

image

列表的高度跟随数据是不固定的,可以改成自适应大小吗

@GanZhiXiong
Copy link
Owner

目前是必须要传入dropDownHeight的高度的。

如果你想改变列表的高度,你可以先计算列表的高度,然后setState试下

@zhouggithub
Copy link

目前是必须要传入dropDownHeight的高度的。

如果你想改变列表的高度,你可以先计算列表的高度,然后setState试下

我试了,是没效果的

@zhouggithub
Copy link

请问动态修改了弹出框高度怎么实现呀

@paintingStyle
Copy link
Author

paintingStyle commented Aug 3, 2021 via email

@zhouggithub
Copy link

自己算高度,或者自己写组件 | | 任双福 | | @.*** | 签名由 网易邮箱大师 定制 在2021年08月03日 11:06,zhouggithub 写道: 请问动态修改了弹出框高度怎么实现呀 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

算了高度给它 但是setstate没效果

@zhouggithub
Copy link

自己算高度,或者自己写组件 | | 任双福 | | @.*** | 签名由 网易邮箱大师 定制 在2021年08月03日 11:06,zhouggithub 写道: 请问动态修改了弹出框高度怎么实现呀 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

重新点一下,高度才对

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants