Skip to content

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

Open
@zyycn

Description

@zyycn
  • 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行为不一致

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions