diff options
author | Artur <artur@vaadin.com> | 2018-01-05 15:13:55 +0200 |
---|---|---|
committer | Olli Tietäväinen <ollit@vaadin.com> | 2018-01-05 15:13:55 +0200 |
commit | f1039e892ca4d40e7ed441264f1d35b30733d679 (patch) | |
tree | a8a7853a28d6bcf25192a5c1c18392f5fa79a673 /themes | |
parent | 900463c44acdef7ad5acec4de5203b6fd37fd4f3 (diff) | |
download | vaadin-framework-f1039e892ca4d40e7ed441264f1d35b30733d679.tar.gz vaadin-framework-f1039e892ca4d40e7ed441264f1d35b30733d679.zip |
Fix scrolling problem in table in Chrome 56+ (#10492)
* Fix scrolling problem in table in Chrome 56+
Fixes #8707
* Remove commented code
Diffstat (limited to 'themes')
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/base/table/table.scss | 1 | ||||
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/valo/components/_table.scss | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/base/table/table.scss b/themes/src/main/themes/VAADIN/themes/base/table/table.scss index 22ffdffa4d..64f700c882 100644 --- a/themes/src/main/themes/VAADIN/themes/base/table/table.scss +++ b/themes/src/main/themes/VAADIN/themes/base/table/table.scss @@ -137,6 +137,7 @@ } .#{$primaryStyleName}-body { border: 1px solid #aaa; + overflow-anchor: none; /* In Chrome 56+ */ } .#{$primaryStyleName}-row-spacer { height: 10px; diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_table.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_table.scss index 86efb96637..82435a4d41 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_table.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_table.scss @@ -279,6 +279,7 @@ $v-table-background-color: null !default; .#{$primary-stylename}-body { border: $v-table-border-width solid $border-color; + overflow-anchor: none; /* In Chrome 56+ */ @include user-select(text); } |