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

Table组件内引用的Pagination受全局config-provider的component-size影响不正确 #8062

Open
1 task done
zyycn opened this issue Mar 11, 2025 · 0 comments
Open
1 task done

Comments

@zyycn
Copy link

zyycn commented Mar 11, 2025

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

Version

4.2.6

Environment

Win11,Chrome 134.0.6998.89,Vue 3.5.13

Reproduction link

https://www.antdv.com/components/config-provider-cn

Steps to reproduce

1,打开AntdV官网,https://www.antdv.com/components/config-provider-cn
2,在Small、Middle、Large 示例切换component-size
3,观察Pagination大小变化,Small、Middle都显示了Small

What is expected?

1,Small、Middle大小应该有区别,行为应该与单独引入Pagination一致
2,Pagination的受全局影响的逻辑为Small最小,Middle、Large为最大

What is actually happening?

1,Small、Middle切换时,都显示了Small,与单独引入Pagination行为不一致

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