Skip to content

Commit

Permalink
[ZEPPELIN-3492] The paragraph's table does not scroll if there is a l…
Browse files Browse the repository at this point in the history
…arge cell

When scrolling (with the mouse wheel), the contents of the table jump and do not scroll down. The scroll bar is working fine. Often this happens if the table has a cell with a large height.

[Bug Fix]

[ZEPPELIN-3492](https://issues.apache.org/jira/browse/ZEPPELIN-3492)

[Text](https://github.com/apache/zeppelin/files/2030555/paragraphText.txt) of the paragraph (python interpreter)

![peek_before](https://user-images.githubusercontent.com/30798933/40417963-c3d158a4-5e89-11e8-8c68-5a0397281c75.gif)

![peek_after](https://user-images.githubusercontent.com/30798933/40417977-ccf60f1a-5e89-11e8-88b3-c7855a198e2d.gif)

* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Savalek <def113@mail.ru>

Closes #2982 from Savalek/ZEPPELIN-3492 and squashes the following commits:

06ef2e6 [Savalek] [ZEPPELIN-3492] fix paragraph's table scroll

Change-Id: I22218a65345f7e84d65bd50b0d110ceb86b8ecbf
  • Loading branch information
Savalek authored and r-kamath committed Jun 13, 2018
1 parent 6137c2a commit f22bbde
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -153,6 +153,7 @@ export default class TableVisualization extends Visualization {
saveTreeView: true,
saveFilter: true,
saveSelection: false,
customScroller: (uiGrid) => uiGrid.on('wheel', (event) => event.stopPropagation()),
};

return gridOptions;
Expand Down

0 comments on commit f22bbde

Please sign in to comment.