角度ui网格表横向滚动

时间:2022-08-24 11:46:38

I noticed a strange behavior when scrolling over an angular-ui table, let's take as an example the table displayed on http://ui-grid.info/, this is the normal table: 角度ui网格表横向滚动

我在滚动一个angular-ui表时注意到一个奇怪的行为,让我们以http://ui-grid.info/上显示的表为例,这是正常表:

and this is the same table that slides sideways when scrolling with the mouse (it happens only if the mouse is capable of lateral scrolling):

这是用鼠标滚动时向侧面滑动的同一个表(仅当鼠标能够横向滚动时才会发生):

角度ui网格表横向滚动

Disabling scrollbars doesn't seem to work. Is there a solution to avoid this behavior?

禁用滚动条似乎不起作用。有没有解决方案来避免这种行为?

1 个解决方案

#1


0  

As pointed out by Rob Louie, the code has now been fixed: https://github.com/angular-ui/ng-grid/commit/f68c5ee47415a48f2f6bd54781774714b03941c2

正如Rob Louie所指出的,代码现已修复:https://github.com/angular-ui/ng-grid/commit/f68c5ee47415a48f2f6bd54781774714b03941c2

#1


0  

As pointed out by Rob Louie, the code has now been fixed: https://github.com/angular-ui/ng-grid/commit/f68c5ee47415a48f2f6bd54781774714b03941c2

正如Rob Louie所指出的,代码现已修复:https://github.com/angular-ui/ng-grid/commit/f68c5ee47415a48f2f6bd54781774714b03941c2