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

[Bug]设置表头不可选中,向上方向键到达第一行后表现异常 #2083

Open
mzhang-eric opened this issue Jul 12, 2024 · 0 comments
Assignees

Comments

@mzhang-eric
Copy link

复现步骤:

  1. 方向键切换选中单元格
    使用上述官网示例,option配置如下
  const option = {
    records:data,
    columns,
    widthMode:'standard',
    frozenColCount:1,
    overscrollBehavior:'none',
    keyboardOptions:{
      moveEditCellOnArrowKeys:true
    },
    editor:'input-editor',
    // 设置表头不可选中
    select: {
        disableHeaderSelect: true,
    },
  };
  1. 修改配置后,任意选中一个单元格,持续按向上方向键,当选中的单元格到达第一行之后,继续按向上键,此时选中状态消失,似乎表格也失去了焦点,按向下方向键,也没有反应

因此,在设置了表头不可选中时,按向上方向键到达第一行之后,此时再按向上键,是否应该停留在第一行?

@fangsmile fangsmile self-assigned this Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants