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]使用 lock 时,表头 sort 行为异常 #4821

Open
std4453 opened this issue Apr 15, 2024 · 5 comments
Open

[Table]使用 lock 时,表头 sort 行为异常 #4821

std4453 opened this issue Apr 15, 2024 · 5 comments
Labels
💬 Discussion Stale not active for a lone time

Comments

@std4453
Copy link

std4453 commented Apr 15, 2024

Component

Table

Reproduction link

Edit on CodeSandbox

Steps to reproduce

使用 Table 组件时,如果 columns 包含 lock: left 以及 sortable: true,排序行为异
常。

  • 点击按钮不会清除非锁列表头的排序,反之亦然

如果同时还会在表格上切换 loading: true,则排序按钮不会展示为蓝色,不符合预期。

初步排查到是因为生成锁列的 Table 的时候没有传入 Table 自己的 sort state。

Copy link

这是您为 Fusion/Next 提的第一个 issue,感谢您对 Fusion 的信任和支持,我们会尽快进行处理。

@eternalsky
Copy link
Contributor

可以试一下 StickyLock

@std4453
Copy link
Author

std4453 commented Apr 16, 2024

@eternalsky 非 StickyLock 的表格 bug 目前是不修复了吗?

@eternalsky
Copy link
Contributor

@eternalsky 非 StickyLock 的表格 bug 目前是不修复了吗?

如果 Sticky 就可以解决,为什么非要寻求非 Sticky 的修复呢~ Sticky 本来就是更新的方案,原方案没有直接替换为 Sticky 是为了考虑边界情况的兼容。

Copy link

你好,该 issue 已 30 天没有活动,因此被标记为 stale,如果之后的 7 天仍然没有活动,该 issue 将被自动关闭

@github-actions github-actions bot added the Stale not active for a lone time label May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬 Discussion Stale not active for a lone time
Projects
None yet
Development

No branches or pull requests

2 participants