1 禁用表格滚动,但是仍然会出现滚动条。 2 在滚动过程中使用disableScroll不生效,还可以拖动滚动条滚动

未关闭
#5,344 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
typescript

调研方向

The payload names no source file, so start by searching the VTable repository for the disableScroll option and the scrollbar code that handles dragging. Reproduce it with a minimal table: set disableScroll, then check whether the scrollbar still appears and can be dragged, and whether the setting is ignored while a scroll is in progress. Done means a disabled table ignores both wheel and scrollbar-drag input, and the expected behavior is confirmed with the maintainers first, since the report asks for a way to check whether scrolling is allowed.

由索引模型根据 Issue 内容生成。

描述

bug
Version

1.26.6

Link to Minimal Reproduction

无

Steps to Reproduce

1 禁用表格滚动,但是仍然会出现滚动条。
2 在滚动过程中使用disableScroll不生效,还可以拖动滚动条滚动

Current Behavior

我需要手动控制当前异步懒加载过程,我在拖动滚动条的过程中,调用接口获取数据添加了loading发现仍然可以继续拖动滚动条,导致我当前异步过程无法控制

Expected Behavior

希望有一个正确的判断当前是否可以滚动的清醒。

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

主要语言
TypeScript
星标
3.7k
派生
492
平均合并
10 小时 22 分钟
30 天内合并 PR
15

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

VisActor/VTable 的其他 Issue

查看 VisActor/VTable 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。