Skip to content

[bug] tabs 3.1.21 异步加载数据的时候还是不能正常自适应高度 #1344

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
juzijun2020 opened this issue May 31, 2022 · 2 comments
Assignees

Comments

@juzijun2020
Copy link

问题描述

虽然在3.1.21里面新增了autoHeight参数,但是在异步加载的时候还是不能正常自适应高度。

预期的行为和实际行为

预期是高度自适应,但实际上只有第一个tab是自适应的,其他tab无法正常显示

复现步骤,具体代码

在官方示例代码 数据异步渲染 3s 加上 :auto-height="true"参数即可复现

相关环境信息

  • 操作系统
  • Node 版本
  • NutUI 版本: 3.1.21
  • Vue 版本
  • 引用方式: NPM
@richard1015
Copy link
Contributor

设置 auto-height 必须设置 pane-key

richard1015 added a commit that referenced this issue Jun 4, 2022
@richard1015
Copy link
Contributor

3.1.22 已发布

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