Skip to content

Bug: 表格设置fixed 在移动端适配不好 #6179

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

Open
5 tasks done
zhuizhubf opened this issue May 13, 2025 · 2 comments
Open
5 tasks done

Bug: 表格设置fixed 在移动端适配不好 #6179

zhuizhubf opened this issue May 13, 2025 · 2 comments

Comments

@zhuizhubf
Copy link
Contributor

zhuizhubf commented May 13, 2025

Version

Vben Admin V5

Describe the bug?

Image
完全被 fixed 冻结 看不到 里面具体内容
left
right

Reproduction

具体操作可以在 vben设置 <498 可以复现

Image

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
    Memory: 22.57 GB / 31.91 GB
  Binaries:
    Node: 20.12.2 - D:\Program Files\nodejs\node.EXE
    npm: 8.3.0 - D:\Program Files\nodejs\npm.CMD
    pnpm: 9.12.1 - ~\AppData\Local\pnpm\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355

Relevant log output

Validations

@Elm1992
Copy link
Contributor

Elm1992 commented May 14, 2025

这应该不算 vben 的问题,左右两侧都有固定列,内容全被遮挡住了滑动也看不见, 我提了 pr 你可以参考一下。
如果是电脑切到移动端记得刷一下浏览器,怕影响性能就没加 watch, 目前这样就够用。

@zhuizhubf
Copy link
Contributor Author

这应该不算 vben 的问题,左右两侧都有固定列,内容全被遮挡住了滑动也看不见, 我提了 pr 你可以参考一下。 如果是电脑切到移动端记得刷一下浏览器,怕影响性能就没加 watch, 目前这样就够用。

我觉得移动端 operation 应该强制使用图标 这样可以减少 固定列的宽度
并像pr那样 移除 operation 以外的固定列

@zhuizhubf zhuizhubf reopened this May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants