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

tabs 使用英文或者特殊符号的内容,tab-item元素出现小数点宽度,导致transformSize mergedBasicSize计算不准 #7945

Open
1 task
luckean opened this issue Nov 19, 2024 · 0 comments

Comments

@luckean
Copy link

luckean commented Nov 19, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

正式

Reproduction link

https://hm5rpp-5173.csb.app/

Steps to reproduce

<script setup lang="ts">
import { Tabs,TabPane } from 'ant-design-vue/es';
const tabs = ['中文anc','中文/','中文中文','中文中文中文','中文中文中文中文中文','英文英文英文英文英文'];
</script>

<template>
<div>
<Tabs>
<TabPane v-for="(item,index) in tabs" :key="index" :tab="item"></TabPane>
</Tabs>
</div>
</template>

What is expected?

期望修复

What is actually happening?

出现小数点之后,计算出错,无法隐藏更多的图标

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

1 participant