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

[t-avatar-group] props设置为10以上会不显示 #3088

Closed
FlyingDreamSky opened this issue Aug 20, 2024 · 3 comments · Fixed by #3134
Closed

[t-avatar-group] props设置为10以上会不显示 #3088

FlyingDreamSky opened this issue Aug 20, 2024 · 3 comments · Fixed by #3134
Labels
enhancement New feature or request

Comments

@FlyingDreamSky
Copy link

tdesign-miniprogram 版本

1.5.1

重现链接

No response

重现步骤

      <t-avatar-group max="20" t-class="flex-wrap" collapseAvatar="more">
        <t-avatar wx:for="{{avatarList}}" wx:for-item="pic" wx:key="index" image="{{pic}}" />
      </t-avatar-group>

期望结果

超过10以上的,zindex能正常计算

实际结果

超过10之后,zindex为负数

基础库版本

No response

补充说明

No response

Copy link
Contributor

👋 @FlyingDreamSky,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@betavs
Copy link
Collaborator

betavs commented Aug 20, 2024

/* 在 wxss 文件中定义 flex-wrap */

.flex-wrap {
  flex-wrap: wrap;
}

@jarmywang
Copy link
Collaborator

/* 在 wxss 文件中定义 flex-wrap */

.flex-wrap {
  flex-wrap: wrap;
}

@FlyingDreamSky 麻烦先按这里对.t-avatar-group做样式覆盖,我们后面看下优化一下这里

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

Successfully merging a pull request may close this issue.

4 participants