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

list组件只能单独使用,不能与其他组件一块使用 #147

Closed
moxuandi opened this issue Dec 8, 2021 · 2 comments
Closed

list组件只能单独使用,不能与其他组件一块使用 #147

moxuandi opened this issue Dec 8, 2021 · 2 comments

Comments

@moxuandi
Copy link

moxuandi commented Dec 8, 2021

版本

2.0.10

转载链接

localhost

重现步骤

比如在列表顶部加一个搜索框(Search 搜索),或者加一个(Empty 内容为空),都会导致列表无法上滑,只能显示1屏

<u-empty  mode="car" icon="http://cdn.uviewui.com/uview/empty/car.png" />
<u-list class="poetry-list" @scrolltolower="scrolltolower">
      <u-list-item v-for="(item, index) in list" :key="index">
       ……
      </u-list-item>
</u-list>

期望的结果是什么?

正常下滑

实际的结果是什么?

无法下滑


导致现在列表页只有列表,无法添加其他元素

@yatoku
Copy link
Collaborator

yatoku commented Jan 20, 2022

可以给list组件,指定height属性。

@yatoku
Copy link
Collaborator

yatoku commented Nov 29, 2022

#149

@yatoku yatoku closed this as completed Nov 29, 2022
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

2 participants