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

[Pagination] [Popup]分页器没有挂载到其他节点的能力 #1611

Closed
2513483494 opened this issue Oct 21, 2022 · 7 comments
Closed

[Pagination] [Popup]分页器没有挂载到其他节点的能力 #1611

2513483494 opened this issue Oct 21, 2022 · 7 comments
Assignees
Labels
in progress in progress

Comments

@2513483494
Copy link
Contributor

这个功能解决了什么问题

截屏2022-10-21 10 33 53

微前端模式下,样式会丢失

你建议的方案是什么

增加类似attact的props,来挂载到其他节点

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 21, 2022

♥️ 有劳 @yorickili @uyarn @samhou1988 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @2513483494

@chaishi
Copy link
Collaborator

chaishi commented Oct 21, 2022

你可以先自己组合一下 Table + Pagination(Table 内置 Pagination 本身只是一个快捷方式)

@2513483494
Copy link
Contributor Author

组合也没用呀,因为Pagination也没有attach树形来挂载到其他节点

@2513483494
Copy link
Contributor Author

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

背景是目前在微前端模式下,开启样式隔离就会出现很多问题,没有attach树形的popup类组件都是没有样式,Icon也不显示。

@chaishi
Copy link
Collaborator

chaishi commented Oct 30, 2022

那提出的这个问题,不属于 Table 组件,属于 Pagination 分页组件。需要透传 selectProps

关注下 Popup 这个 issue #1637

支持透传 selectPropsselectProps.popupProps 到 Pagination 组件(Table.pagination.selectProps.popupProps),可根据依赖关系推断属性层级。resolved in 7a226f5 #1638

Vue2 Tencent/tdesign-vue#1702

Popup 组件实现 attach 属性,即可设置挂载到其他节点

@chaishi chaishi changed the title [Table] 分页器没有挂载到其他节点的能力 [Pagination] 分页器没有挂载到其他节点的能力 Oct 30, 2022
@chaishi chaishi changed the title [Pagination] 分页器没有挂载到其他节点的能力 [Pagination] [Popup]分页器没有挂载到其他节点的能力 Oct 30, 2022
@chaishi chaishi added the in progress in progress label Oct 30, 2022
@honkinglin
Copy link
Collaborator

0.42.5 fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress in progress
Projects
None yet
Development

No branches or pull requests

4 participants