描述问题:
配置crud,在fixed固定多列时,再启用columnsTogglable,操作隐藏固定列,滚动条滑动出现列位移现象
截图或视频:
如何复现(请务必完整填写下面内容):
- 你是如何使用 amis 的?
sdk
- amis 版本是什么?请先在最新 beta 版本测试问题是否存在
amis v3.4.2,官网文档页面尝试也存在这个问题 - 粘贴有问题的完整
amis schema
代码:
{
"type": "page",
"body": {
"type": "service",
"api": "/amis/api/mock2/sample?perPage=5",
"body": [
{
"type": "table",
"source": "$rows",
"className": "m-b-none",
"autoFillHeight": true,
"columns": [
{
"name": "engine",
"label": "Engine"
},
{
"name": "grade",
"label": "Grade"
},
{
"name": "version",
"label": "Version"
},
{
"name": "browser",
"label": "Browser"
},
{
"name": "id",
"label": "ID",
"toggled": false,
"fixed": "right"
},
{
"name": "platform",
"label": "Platform",
"fixed": "right"
}
]
}
]
}
}
- 操作步骤
页面显示列按钮里,去除Platform显示,即出现,滑动底部滚动条,列位移
2条答案
按热度按时间d6kp6zgx1#
👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
mhd8tkvw2#
代码是拉取的git,master分支进行测试,以及在官方文档页面进行了在线编辑测试,也存在这种问题